mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
formatting the code for better readability
This commit is contained in:
parent
e94c8176d2
commit
c42da47aa6
@ -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
|
||||
});*/
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user