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/11/28 11:04:50 UTC

git commit: CLOUDSTACK-546:Guest vms which are in expunging state should be displayed

Updated Branches:
  refs/heads/master df8990eae -> 1d0a1adb8


CLOUDSTACK-546:Guest vms which are in expunging state should be displayed


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

Branch: refs/heads/master
Commit: 1d0a1adb8e2826f880cb98c55468b6e075c84c01
Parents: df8990e
Author: Pranav Saxena <pr...@citrix.com>
Authored: Wed Nov 28 15:34:28 2012 +0530
Committer: Pranav Saxena <pr...@citrix.com>
Committed: Wed Nov 28 15:34:28 2012 +0530

----------------------------------------------------------------------
 ui/scripts/instances.js |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cloudstack/blob/1d0a1adb/ui/scripts/instances.js
----------------------------------------------------------------------
diff --git a/ui/scripts/instances.js b/ui/scripts/instances.js
index 610f753..dc4768b 100644
--- a/ui/scripts/instances.js
+++ b/ui/scripts/instances.js
@@ -203,7 +203,8 @@
           data: data,          
           success: function(json) {
             var items = json.listvirtualmachinesresponse.virtualmachine;
-            if(items != null) {
+           // Code for hiding "Expunged VMs"
+           /* if(items != null) {
             var i=0;
             for( i=0;i< items.length;i++){
               if(items[i].state == 'Expunging')
@@ -218,13 +219,11 @@
             }
            }
           }
-          else {
+          else {*/
              args.response.success({
               actionFilter: vmActionfilter,
               data: items
              });
- 
-           }
 
           }
         });