diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js index 6b818ed..8d45226 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/CAController.js @@ -1123,10 +1123,13 @@ function videoOnLoad(event) { var scope = angular.element(document.getElementById("CAView")).scope(); // var len = (event.target.id).split("_").length; var windowviewid = (event.target.id).split("_")[1]; - - scope.$apply(function () { - scope.videoOnLoad(windowviewid); - }); + setTimeout(function() + { + scope.$apply(function () { + scope.videoOnLoad(windowviewid); + }); + }, 500); + } function GetTextVisibityCA(event) { diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/MyAnimationController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/MyAnimationController.js index f9ad51f..e640c2c 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/MyAnimationController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/MyAnimationController.js @@ -303,7 +303,7 @@ function ($scope, $window, $rootScope, $compile, $http, log, $location, $timeout parentSlug: $scope.GetVideowindowStoreData(windowviewid, 'parentSlugName'), content: '' + '