diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 7d71207..f832254 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -845,6 +845,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic if ($('#caVideoPanel').length > 0) $('#caVideoPanel').remove(); + if ($('#ImagePanel').length > 0) + $('#ImagePanel').remove(); + $location.url('/' + slug); $rootScope.$broadcast('jsPanelCloseEvent', true);