cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sanjaytripa...@apache.org
Subject git commit: updated refs/heads/master to 6c44c06
Date Mon, 05 May 2014 08:53:23 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master cc92f3bbe -> 6c44c0661


CLOUDSTACK-6479: Strict and Preferred modes should only be allowed in Implict Dedication Planner
Service Offerings.


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

Branch: refs/heads/master
Commit: 6c44c0661dae0e9de4ed53fad8951e72dbbd3335
Parents: cc92f3b
Author: Sanjay Tripathi <sanjay.tripathi@citrix.com>
Authored: Mon May 5 14:24:20 2014 +0530
Committer: Sanjay Tripathi <sanjay.tripathi@citrix.com>
Committed: Mon May 5 14:26:44 2014 +0530

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6c44c066/ui/scripts/configuration.js
----------------------------------------------------------------------
diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js
index 1654095..704f4dd 100644
--- a/ui/scripts/configuration.js
+++ b/ui/scripts/configuration.js
@@ -353,8 +353,15 @@
                                                     args.response.success({
                                                         data: items
                                                     });
-
-
+                                                    args.$select.change(function() {
+                                                        var $form = $(this).closest('form');
+                                                        var $fields = $form.find('.field');
+                                                        if ($(this).val() == "ImplicitDedicationPlanner")
{
+                                                            $form.find('[rel=plannerMode]').css('display',
'block');
+                                                        } else {	
+                                                            $form.find('[rel=plannerMode]').hide();
+                                                        }
+                                                    });
                                                 }
                                             });
                                         }


Mime
View raw message