Commit 9607f03b1990fc08d87baf3ef249f87ada46c1b2
1 parent
a271edda
disable export link on cb list
Showing
1 changed file
with
4 additions
and
6 deletions
400-SOURCECODE/AIAHTML5.Web/app/controllers/HomeController.js
... | ... | @@ -1663,7 +1663,7 @@ function ($rootScope, $scope, Modules, $log, $location, $compile, $timeout, Data |
1663 | 1663 | } |
1664 | 1664 | else if ($location.url() == "/curriculum-builder") { |
1665 | 1665 | |
1666 | - $rootScope.openResources = ""; | |
1666 | + $rootScope.openResources = "openResources"; | |
1667 | 1667 | |
1668 | 1668 | $rootScope.disableMenuannotation = "disableMenuannotation"; |
1669 | 1669 | $rootScope.disableMenuoption = "disableMenuoption"; |
... | ... | @@ -1676,9 +1676,8 @@ function ($rootScope, $scope, Modules, $log, $location, $compile, $timeout, Data |
1676 | 1676 | |
1677 | 1677 | $rootScope.disableSubMenu = "disableSubMenu"; |
1678 | 1678 | $rootScope.OpenPitures = "OpenPitures"; |
1679 | - $rootScope.disableFileMenu = ""; | |
1680 | - //enableDisable export option | |
1681 | - $scope.EnableDisableExportImage(); | |
1679 | + $rootScope.disableFileMenu = ""; | |
1680 | + $rootScope.exportImage = "exportImage"; | |
1682 | 1681 | } |
1683 | 1682 | else if ($location.url() == "/curriculum-builder-detail") { |
1684 | 1683 | $rootScope.disableFileMenu = ""; |
... | ... | @@ -1689,8 +1688,7 @@ function ($rootScope, $scope, Modules, $log, $location, $compile, $timeout, Data |
1689 | 1688 | $rootScope.openCurriculum = ""; |
1690 | 1689 | $rootScope.saveCurriculam = ""; |
1691 | 1690 | $rootScope.openResources = ""; |
1692 | - //enableDisable export option | |
1693 | - $scope.EnableDisableExportImage(); | |
1691 | + $rootScope.exportImage = "exportImage"; | |
1694 | 1692 | } |
1695 | 1693 | else if ($location.url() == "/adam-images-detail") { |
1696 | 1694 | $rootScope.disableMenuannotation = " "; | ... | ... |