Commit a4167b49d1920b285c1e6f412e07b3f0e326f07b
Merge branch 'Bug-21861-2' into Develop
Showing
1 changed file
with
3 additions
and
0 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -845,6 +845,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | @@ -845,6 +845,9 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic | ||
845 | if ($('#caVideoPanel').length > 0) | 845 | if ($('#caVideoPanel').length > 0) |
846 | $('#caVideoPanel').remove(); | 846 | $('#caVideoPanel').remove(); |
847 | 847 | ||
848 | + if ($('#ImagePanel').length > 0) | ||
849 | + $('#ImagePanel').remove(); | ||
850 | + | ||
848 | $location.url('/' + slug); | 851 | $location.url('/' + slug); |
849 | 852 | ||
850 | $rootScope.$broadcast('jsPanelCloseEvent', true); | 853 | $rootScope.$broadcast('jsPanelCloseEvent', true); |