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:01 UTC

git commit: updated refs/heads/4.2 to 2eae870

Updated Branches:
  refs/heads/4.2 df3ae9805 -> 2eae87033


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/2eae8703
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/2eae8703
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/2eae8703

Branch: refs/heads/4.2
Commit: 2eae8703354dfbf74c5855ad9d11375805797dfb
Parents: df3ae98
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:52:50 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/2eae8703/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({