You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bf...@apache.org on 2013/07/23 01:53:28 UTC

git commit: updated refs/heads/master to 7974dfe

Updated Branches:
  refs/heads/master 6ac361e6a -> 7974dfe8d


CLOUDSTACK-3660: Add isdynamicallyscalable field

Add isdynamicallyscalable field to storage -> create template dialog


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

Branch: refs/heads/master
Commit: 7974dfe8db4c9a7f85875ac569ca27f2b39d2e05
Parents: 6ac361e
Author: Brian Federle <br...@citrix.com>
Authored: Mon Jul 22 16:52:37 2013 -0700
Committer: Brian Federle <br...@citrix.com>
Committed: Mon Jul 22 16:53:17 2013 -0700

----------------------------------------------------------------------
 ui/scripts/storage.js | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/7974dfe8/ui/scripts/storage.js
----------------------------------------------------------------------
diff --git a/ui/scripts/storage.js b/ui/scripts/storage.js
index 348ba7b..5e1c225 100644
--- a/ui/scripts/storage.js
+++ b/ui/scripts/storage.js
@@ -1075,6 +1075,10 @@
                                         isFeatured: {
                                             label: "label.featured",
                                             isBoolean: true
+                                        },
+                                        isdynamicallyscalable: {
+                                            label: "Dynamically Scalable",
+                                            isBoolean: true
                                         }
                                     }
                                 },
@@ -1085,7 +1089,9 @@
                                         displayText: args.data.displayText,
                                         osTypeId: args.data.osTypeId,
                                         isPublic: (args.data.isPublic == "on"),
-                                        passwordEnabled: (args.data.isPasswordEnabled == "on")
+                                        passwordEnabled: (args.data.isPasswordEnabled == "on"),
+                                        isdynamicallyscalable: (args.data.isdynamicallyscalable == "on")
+
                                     };
 
                                     if (args.$form.find('.form-item[rel=isFeatured]').css("display") != "none") {
@@ -1660,6 +1666,10 @@
                                         isPasswordEnabled: {
                                             label: 'label.password.enabled',
                                             isBoolean: true
+                                        },
+                                        isdynamicallyscalable: {
+                                            label: "Dynamically Scalable",
+                                            isBoolean: true
                                         }
                                     }
                                 },
@@ -1670,7 +1680,8 @@
                                         displayText: args.data.displayText,
                                         osTypeId: args.data.osTypeId,
                                         isPublic: (args.data.isPublic == "on"),
-                                        passwordEnabled: (args.data.isPasswordEnabled == "on")
+                                        passwordEnabled: (args.data.isPasswordEnabled == "on"),
+                                        isdynamicallyscalable: (args.data.isdynamicallyscalable == "on")
                                     };
 
                                     $.ajax({