You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by sa...@apache.org on 2013/05/31 09:49:34 UTC

[36/50] [abbrv] git commit: updated refs/heads/vmware-datamodel to 6a8c2bd

Implicit Dedication UI changes


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

Branch: refs/heads/vmware-datamodel
Commit: 6cbd85f0957095c6c2762aee37f1e099dcaf4c03
Parents: 965c7b9
Author: Pranav Saxena <pr...@citrix.com>
Authored: Thu May 30 15:27:18 2013 +0530
Committer: Pranav Saxena <pr...@citrix.com>
Committed: Thu May 30 15:27:18 2013 +0530

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/6cbd85f0/ui/scripts/configuration.js
----------------------------------------------------------------------
diff --git a/ui/scripts/configuration.js b/ui/scripts/configuration.js
index 211d7b7..43dd68f 100644
--- a/ui/scripts/configuration.js
+++ b/ui/scripts/configuration.js
@@ -164,7 +164,7 @@
                      }
                   },
 
-                  plannerKey:{label:'Planner Key' , docID:'helpImplicitPlannerKey'},
+                 // plannerKey:{label:'Planner Key' , docID:'helpImplicitPlannerKey'},
                   plannerMode:{
                     label:'Planner Mode',
                     select:function(args){
@@ -213,9 +213,9 @@
 
 								};															
                 var array1 =[];
-                 if(args.data.plannerMode != null && args.data.plannerKey !=""){
-                   array1.push("&serviceofferingdetails[0]." + args.data.plannerKey + "=" + args.data.plannerMode);
-                }
+                   if(args.data.deploymentPlanner == "ImplicitDedicationPlanner" && args.data.plannerMode != ""){
+                       array1.push("&serviceofferingdetails[0].ImplicitDedicationMode" +  "=" + args.data.plannerMode);
+                 }
 
                 if(args.data.networkRate != null && args.data.networkRate.length > 0) {
 								  $.extend(data, {