diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index 6ebba0a..f6d7d80 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -824,6 +824,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);