mirror of https://github.com/apache/cloudstack.git
volume-upload: UI > templates > upload template from local > pass ispublic, requireshvm, isfeatured, isrouting parameter to getUploadParamsForTemplate API if corresponding fields are not hidden.
This commit is contained in:
parent
e92e46aba5
commit
7a3c2304a0
|
|
@ -606,11 +606,7 @@
|
|||
osTypeId: args.data.osTypeId,
|
||||
hypervisor: args.data.hypervisor
|
||||
};
|
||||
|
||||
|
||||
debugger;
|
||||
//Brian, please extend args to include $form
|
||||
/*
|
||||
|
||||
if (args.$form.find('.form-item[rel=isPublic]').css("display") != "none") {
|
||||
$.extend(data, {
|
||||
ispublic: (args.data.isPublic == "on")
|
||||
|
|
@ -634,8 +630,7 @@
|
|||
isrouting: (args.data.isrouting === 'on')
|
||||
});
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
$.ajax({
|
||||
url: createURL('getUploadParamsForTemplate'),
|
||||
data: data,
|
||||
|
|
|
|||
Loading…
Reference in New Issue