You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by pr...@apache.org on 2012/09/29 08:42:49 UTC

git commit: CloudStack-222:Admin UI prompts to restart Management server with cancel edit operation - Widget changes

Updated Branches:
  refs/heads/master 295e22881 -> 4530af1be


CloudStack-222:Admin UI prompts to restart Management server with cancel edit operation - Widget changes


Project: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/commit/4530af1b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/tree/4530af1b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/diff/4530af1b

Branch: refs/heads/master
Commit: 4530af1bee2791048c95b88a4d5b3baf078201f6
Parents: 295e228
Author: Pranav Saxena <pr...@citrix.com>
Authored: Sat Sep 29 12:12:20 2012 +0530
Committer: Pranav Saxena <pr...@citrix.com>
Committed: Sat Sep 29 12:12:20 2012 +0530

----------------------------------------------------------------------
 ui/scripts/ui/widgets/listView.js |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/4530af1b/ui/scripts/ui/widgets/listView.js
----------------------------------------------------------------------
diff --git a/ui/scripts/ui/widgets/listView.js b/ui/scripts/ui/widgets/listView.js
index 883e86d..5cc069d 100644
--- a/ui/scripts/ui/widgets/listView.js
+++ b/ui/scripts/ui/widgets/listView.js
@@ -468,7 +468,10 @@
       };
 
       if (args.cancel) {  //click Cancel button
-        showLabel();
+       // showLabel();
+         $edit.hide();
+         $label.fadeIn();
+         $instanceRow.closest('div.data-table').dataTable('refresh');
         return false;
       }