Updated Branches:
  refs/heads/master 0a5e3fa60 -> ef8663998

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/master
Commit: 6cbd85f0957095c6c2762aee37f1e099dcaf4c03
Parents: 965c7b9
Author: Pranav Saxena <pranav.sax...@citrix.com>
Authored: Thu May 30 15:27:18 2013 +0530
Committer: Pranav Saxena <pranav.sax...@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, {

Reply via email to