diff options
Diffstat (limited to 'src/main/resources/META-INF/resources/designer/scripts/app.js')
-rw-r--r-- | src/main/resources/META-INF/resources/designer/scripts/app.js | 26 |
1 files changed, 1 insertions, 25 deletions
diff --git a/src/main/resources/META-INF/resources/designer/scripts/app.js b/src/main/resources/META-INF/resources/designer/scripts/app.js index 9ae2697e..59a27bdf 100644 --- a/src/main/resources/META-INF/resources/designer/scripts/app.js +++ b/src/main/resources/META-INF/resources/designer/scripts/app.js @@ -257,8 +257,6 @@ function($scope, $rootScope, $timeout, dialogs) { window.open(value); } else if (name == "Contact Us") { $rootScope.contactUs(); - } else if (name == "Revert Model Changes") { - $scope.cldsRevertModel(); } else if (name == "Close Model") { $scope.cldsClose(); } else if (name == "Open CL") { @@ -299,9 +297,6 @@ function($scope, $rootScope, $timeout, dialogs) { link : "/cldsOpenModelProperties", name : "Properties CL" }, { - link : "/RevertChanges", - name : "Revert Model Changes" - }, { link : "/Close", name : "Close Model" } ], @@ -312,7 +307,7 @@ function($scope, $rootScope, $timeout, dialogs) { // disabled for Dublin since Policy doesn't support updating in this release // link : "/cldsUpdate", // name : "Update" - }, { + //}, { link : "/cldsStop", name : "Stop" }, { @@ -497,25 +492,6 @@ function($scope, $rootScope, $timeout, dialogs) { callBack(null); }); }; - $scope.cldsRevertModel = function() { - - var dlg = dialogs.create( - 'partials/portfolios/ConfirmRevertChanges.html', - 'CldsOpenModelCtrl', { - closable : true, - draggable : true - }, { - size : 'lg', - keyboard : true, - backdrop : 'static', - windowClass : 'my-class' - }); - dlg.result.then(function(name) { - - }, function() { - - }); - }; $rootScope.cldsOpenModelProperties = function() { var dlg = dialogs.create( |