cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jessicaw...@apache.org
Subject git commit: updated refs/heads/master to 6df1998
Date Thu, 24 Oct 2013 21:59:25 GMT
Updated Branches:
  refs/heads/master 259245200 -> 6df199864


UI > Edit Template, Edit ISO > can't update template/ISO in only one zone. It always
get updated in all zones.


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

Branch: refs/heads/master
Commit: 6df19986455f7fd7982e8396d2eef121b32cd307
Parents: 2592452
Author: Jessica Wang <jessicawang@apache.org>
Authored: Thu Oct 24 14:58:23 2013 -0700
Committer: Jessica Wang <jessicawang@apache.org>
Committed: Thu Oct 24 14:58:23 2013 -0700

----------------------------------------------------------------------
 ui/scripts/templates.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6df19986/ui/scripts/templates.js
----------------------------------------------------------------------
diff --git a/ui/scripts/templates.js b/ui/scripts/templates.js
index d4655e7..f45c2d2 100644
--- a/ui/scripts/templates.js
+++ b/ui/scripts/templates.js
@@ -600,7 +600,7 @@
                                     //***** updateTemplate *****
                                     var data = {
                                         id: args.context.templates[0].id,
-                                        zoneid: args.context.templates[0].zoneid,
+                                        //zoneid: args.context.templates[0].zoneid, //can't
update template/ISO in only one zone. It always get updated in all zones.
                                         name: args.data.name,
                                         displaytext: args.data.displaytext,
                                         ostypeid: args.data.ostypeid,
@@ -620,7 +620,7 @@
                                     //***** updateTemplatePermissions *****
                                     var data = {
                                         id: args.context.templates[0].id,
-                                        zoneid: args.context.templates[0].zoneid
+                                        //zoneid: args.context.templates[0].zoneid //can't
update template/ISO in only one zone. It always get updated in all zones.
                                     };
 
                                     //if args.data.ispublic is undefined, do not pass ispublic
to API call.
@@ -1419,7 +1419,7 @@
                                     //***** updateIso *****
                                     var data = {
                                         id: args.context.isos[0].id,
-                                        zoneid: args.context.isos[0].zoneid,
+                                        //zoneid: args.context.isos[0].zoneid, //can't update
template/ISO in only one zone. It always get updated in all zones.
                                         name: args.data.name,
                                         displaytext: args.data.displaytext,
                                         ostypeid: args.data.ostypeid
@@ -1437,7 +1437,7 @@
                                     //***** updateIsoPermissions *****
                                     var data = {
                                         id: args.context.isos[0].id,
-                                        zoneid: args.context.isos[0].zoneid
+                                        //zoneid: args.context.isos[0].zoneid //can't update
template/ISO in only one zone. It always get updated in all zones.
                                     };
                                     //if args.data.ispublic is undefined, do not pass ispublic
to API call.
                                     if (args.data.ispublic == "on") {


Mime
View raw message