diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js index d8cc549..70759df 100644 --- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js +++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js @@ -3047,6 +3047,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $rootScope.disableAnnotationtoolOnListManager = false; $rootScope.ShowListManager = function () { + $rootScope.switchCanvas(); $("#annotationpaintbrushsize").attr("href", "#"); $("#annotationpainteraser").attr("href", "#"); @@ -3065,9 +3066,6 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic $("#listManager").css("visibility", "visible"); $('#listManager').draggable(); - - - $rootScope.islistManagerEventAlredayDispachted = true; $rootScope.$broadcast('listManagerEvent', true); @@ -3095,10 +3093,12 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic // $('#termList option[value="' + $rootScope.SelectedTermList + '"]').prop("selected", true); //$("#termList").find("option").css({ "background-color": "#ffffff", "color": "#000000" }); //$('#termList option[value="' + $rootScope.SelectedTermList + '"]').css({ "background-color": "#3399FF", "color": "#ffffff" }); - - } $("#optionsListManagerTab").addClass("active"); + var viewNameAftrSplit = $("#viewName").val().split(" "); + if (viewNameAftrSplit[0] == "null") { + document.location.href = "/"; + } } $rootScope.CloseListManager = function () {