cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pran...@apache.org
Subject [23/25] git commit: updated refs/heads/master to 2f29185
Date Fri, 31 May 2013 04:36:13 GMT
formatting the code for better readability


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

Branch: refs/heads/master
Commit: c42da47aa6694f987e6fda36f65efbbdb208f9f5
Parents: e94c817
Author: Pranav Saxena <pranav.saxena@citrix.com>
Authored: Thu May 30 21:36:27 2013 +0530
Committer: Pranav Saxena <pranav.saxena@citrix.com>
Committed: Thu May 30 21:57:17 2013 +0530

----------------------------------------------------------------------
 ui/scripts/system.js |   39 ++++-----------------------------------
 1 files changed, 4 insertions(+), 35 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/c42da47a/ui/scripts/system.js
----------------------------------------------------------------------
diff --git a/ui/scripts/system.js b/ui/scripts/system.js
index c8c747d..3044c83 100644
--- a/ui/scripts/system.js
+++ b/ui/scripts/system.js
@@ -5477,12 +5477,10 @@
 
                    accountId:{
                      label:'Account',
-                    // docID:'helpAccountForDedication',
+                     docID:'helpAccountForDedication',
                      validation:{required:false}
 
                   }
-
-
                      }
                 },
             
@@ -5506,9 +5504,7 @@
                               },
                             actionFilter:zoneActionfilter
 
-
                           });
-
                     }
                   });
                 }
@@ -8723,16 +8719,6 @@
                     var item = json.createpodresponse.pod;
                     podId = json.createpodresponse.pod.id;
 
-                   /* args.response.success({
-										  data:item
-										});
-                  },
-                  error: function(XMLHttpResponse) {
-                    var errorMsg = parseXMLHttpResponse(XMLHttpResponse);
-                    args.response.error(errorMsg);
-                  }
-                });*/
-
                   //EXPLICIT DEDICATION
                 if(args.$form.find('.form-item[rel=isDedicated]').find('input[type=checkbox]').is(':Checked')==
true){
                       var array2 = [];
@@ -8909,7 +8895,7 @@
 
                    accountId:{
                      label:'Account',
-                    // docID:'helpAccountForDedication',
+                     docID:'helpAccountForDedication',
                      validation:{required:false}
 
                   }
@@ -9677,14 +9663,6 @@
                   success: function(json) {
                     var item = json.addclusterresponse.cluster[0];
                     clusterId= json.addclusterresponse.cluster[0].id;
-                /*    args.response.success({
-										  data: $.extend(item, { state: 'Enabled' })
-										});
-                  },
-                  error: function(XMLHttpResponse) {
-                    var errorMsg = parseXMLHttpResponse(XMLHttpResponse);
-                    args.response.error(errorMsg);
-                  }*/
                   
                   //EXPLICIT DEDICATION
                 if(args.$form.find('.form-item[rel=isDedicated]').find('input[type=checkbox]').is(':Checked')==
true){
@@ -9699,7 +9677,6 @@
                          dataType:"json",
                          success:function(json){
                              var jid = json.dedicateclusterresponse.jobid;
-                             //args.response.success({  data: $.extend(item, dedicatedObj
, {state:'Enabled'}) });
                               args.response.success({
                                  _custom:
                                    {      jobId: jid
@@ -9900,7 +9877,7 @@
 
                    accountId:{
                      label:'Account',
-                    // docID:'helpAccountForDedication',
+                     docID:'helpAccountForDedication',
                      validation:{required:false}
 
                   }
@@ -9927,8 +9904,6 @@
                                  poll: pollAsyncJobResult
                               },
                             actionFilter:clusterActionfilter
-
-
                           });
                     }
                   });
@@ -10804,7 +10779,6 @@
                          dataType:"json",
                          success:function(json){
                              var jid = json.dedicatehostresponse.host.jobid;
-                             //args.response.success({  data: $.extend(item, dedicatedObj)
});
                               args.response.success({
                                  _custom:
                            {      jobId: jid
@@ -10919,7 +10893,7 @@
                    },
                   accountId:{
                      label:'Account',
-                    // docID:'helpAccountForDedication',
+                     docID:'helpAccountForDedication',
                      validation:{required:false}
 
                   }
@@ -10950,11 +10924,6 @@
 
 
                           });
-
-                   /*   args.response.success({
-                        actionFilter: podActionfilter,
-                        data:item
-                      });*/
                     }
                   });
                 }


Mime
View raw message