Repository: cloudstack
Updated Branches:
  refs/heads/volume-upload e92e46aba -> 7a3c2304a


volume-upload: UI > templates > upload template from local > pass ispublic, 
requireshvm, isfeatured, isrouting parameter to getUploadParamsForTemplate API 
if corresponding fields are not hidden.


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

Branch: refs/heads/volume-upload
Commit: 7a3c2304a08fd78ba2a1784b814983dca04f7eb9
Parents: e92e46a
Author: Jessica Wang <[email protected]>
Authored: Tue Jan 20 14:00:23 2015 -0800
Committer: Jessica Wang <[email protected]>
Committed: Tue Jan 20 14:00:23 2015 -0800

----------------------------------------------------------------------
 ui/scripts/templates.js | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7a3c2304/ui/scripts/templates.js
----------------------------------------------------------------------
diff --git a/ui/scripts/templates.js b/ui/scripts/templates.js
index 16d057d..4c6c8f5 100644
--- a/ui/scripts/templates.js
+++ b/ui/scripts/templates.js
@@ -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,

Reply via email to