Commit e9e605fd1e5503ff8e1bc815c5147d419ee80fd1
1 parent
e8a9213c
FIx for bug 17019
Showing
1 changed file
with
5 additions
and
5 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... | ... | @@ -3068,6 +3068,7 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
3068 | 3068 | |
3069 | 3069 | $rootScope.disableAnnotationtoolOnListManager = false; |
3070 | 3070 | $rootScope.ShowListManager = function () { |
3071 | + | |
3071 | 3072 | $rootScope.switchCanvas(); |
3072 | 3073 | $("#annotationpaintbrushsize").attr("href", "#"); |
3073 | 3074 | $("#annotationpainteraser").attr("href", "#"); |
... | ... | @@ -3086,9 +3087,6 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
3086 | 3087 | $("#listManager").css("visibility", "visible"); |
3087 | 3088 | |
3088 | 3089 | $('#listManager').draggable(); |
3089 | - | |
3090 | - | |
3091 | - | |
3092 | 3090 | $rootScope.islistManagerEventAlredayDispachted = true; |
3093 | 3091 | |
3094 | 3092 | $rootScope.$broadcast('listManagerEvent', true); |
... | ... | @@ -3116,10 +3114,12 @@ function ($rootScope, Modules, $log, $location, $timeout, DataService, Authentic |
3116 | 3114 | // $('#termList option[value="' + $rootScope.SelectedTermList + '"]').prop("selected", true); |
3117 | 3115 | //$("#termList").find("option").css({ "background-color": "#ffffff", "color": "#000000" }); |
3118 | 3116 | //$('#termList option[value="' + $rootScope.SelectedTermList + '"]').css({ "background-color": "#3399FF", "color": "#ffffff" }); |
3119 | - | |
3120 | - | |
3121 | 3117 | } |
3122 | 3118 | $("#optionsListManagerTab").addClass("active"); |
3119 | + var viewNameAftrSplit = $("#viewName").val().split(" "); | |
3120 | + if (viewNameAftrSplit[0] == "null") { | |
3121 | + document.location.href = "/"; | |
3122 | + } | |
3123 | 3123 | } |
3124 | 3124 | |
3125 | 3125 | $rootScope.CloseListManager = function () { | ... | ... |