diff --git a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
index 67a09f3..0ee3385 100644
--- a/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
+++ b/400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
@@ -3068,6 +3068,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
$rootScope.disableAnnotationtoolOnListManager = false;
$rootScope.ShowListManager = function () {
+
$rootScope.switchCanvas();
$("#annotationpaintbrushsize").attr("href", "#");
$("#annotationpainteraser").attr("href", "#");
@@ -3086,9 +3087,6 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic
$("#listManager").css("visibility", "visible");
$('#listManager').draggable();
-
-
-
$rootScope.islistManagerEventAlredayDispachted = true;
$rootScope.$broadcast('listManagerEvent', true);
@@ -3116,10 +3114,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 () {