Skip to content

Commit

Permalink
Removed a debug statement
Browse files Browse the repository at this point in the history
Fixed Hosts form field to save/display data.

https://bugzilla.redhat.com/show_bug.cgi?id=1422449
  • Loading branch information
h-kataria committed Feb 21, 2017
1 parent f90a520 commit d39b62c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ ManageIQ.angular.app.controller('catalogItemFormController', ['$scope', 'catalog
vm.catalogItemModel.provisioning_machine_credential_id = configData.provision.credential_id;
vm.catalogItemModel.provisioning_network_credential_id = configData.provision.network_credential_id;
vm.catalogItemModel.provisioning_cloud_credential_id = configData.provision.cloud_credential_id;
vm.catalogItemModel.provisioning_inventory = configData.provision.inventory;
vm.catalogItemModel.provisioning_inventory = configData.provision.hosts;
vm.catalogItemModel.provisioning_dialog_existing = configData.provision.dialog_id ? "existing" : "create";
vm.catalogItemModel.provisioning_dialog_id = configData.provision.dialog_id;
vm.catalogItemModel.provisioning_dialog_name = configData.provision.new_dialog_name;
Expand All @@ -88,7 +88,7 @@ ManageIQ.angular.app.controller('catalogItemFormController', ['$scope', 'catalog
vm.catalogItemModel.retirement_machine_credential_id = configData.retirement.credential_id;
vm.catalogItemModel.retirement_network_credential_id = configData.retirement.network_credential_id;
vm.catalogItemModel.retirement_cloud_credential_id = configData.retirement.cloud_credential_id;
vm.catalogItemModel.retirement_inventory = configData.retirement.inventory;
vm.catalogItemModel.retirement_inventory = configData.retirement.hosts;
vm.catalogItemModel.retirement_dialog_existing = configData.retirement.dialog_id ? "existing" : "create";
vm.catalogItemModel.retirement_dialog_id = configData.retirement.dialog_id;
vm.catalogItemModel.retirement_dialog_name = configData.retirement.new_dialog_name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
= _("Hosts")
.col-md-8
%input.form-control{:type => "text",
'ng-model' => "vm.#{ng_model}.#{prefix}_inventory",
'ng-model' => "#{ng_model}.#{prefix}_inventory",
:name => "#{prefix}_inventory",
:maxlength => 50,
"miqrequired" => "",
Expand Down Expand Up @@ -161,7 +161,6 @@
.form-group
%label.col-md-2.control-label
= _("Dialog")
{{#{ng_model}.#{prefix}_dialog_existing}}
.col-md-4
%label.radio
%input{"ng-model" => "vm.#{prefix}_dialog_existing", :type => "radio", :value => "existing", "ng-click" => "vm.toggleDialogSelection('#{prefix}', 'existing')", "ng-checked" => "#{ng_model}.#{prefix}_dialog_existing == 'existing'"}
Expand Down

0 comments on commit d39b62c

Please sign in to comment.