incubator-cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From prachida...@apache.org
Subject [6/50] [abbrv] git commit: CLOUDSTACK-546:Guest vms which are in expunging state should be displayed
Date Thu, 29 Nov 2012 00:01:17 GMT
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/api_refactoring
Commit: 1d0a1adb8e2826f880cb98c55468b6e075c84c01
Parents: df8990e
Author: Pranav Saxena <pranav.saxena@citrix.com>
Authored: Wed Nov 28 15:34:28 2012 +0530
Committer: Pranav Saxena <pranav.saxena@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
              });
- 
-           }
 
           }
         });


Mime
View raw message