Skip to content

Commit

Permalink
F OpenNebula#2427: Fixed bug for sched requirements filled
Browse files Browse the repository at this point in the history
  • Loading branch information
juanmont committed Nov 20, 2018
1 parent 4afa011 commit af5b8af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,7 @@ define(function(require) {
$(".auto", context).show();

if ( templateJSON["SCHED_REQUIREMENTS"] ) {
$("input#"+this.nicTabId+"_SCHED_REQUIREMENTS", context).val(templateJSON["SCHED_REQUIREMENTS"]);
$("input#"+this.nicTabId+"_SCHED_REQUIREMENTS", context).val(templateJSON["SCHED_REQUIREMENTS"].split('"').join("\\\""));
}

if ( templateJSON["SCHED_RANK"] ) {
Expand Down
2 changes: 1 addition & 1 deletion src/sunstone/public/app/utils/nics-section.js
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ define(function(require) {
$(".auto", dd_context).show();

if ( options.nic["SCHED_REQUIREMENTS"] ) {
$("input#provision_accordion_dd_"+provision_nic_accordion_dd_id+"_SCHED_REQUIREMENTS", dd_context).val(options.nic["SCHED_REQUIREMENTS"]);
$("input#provision_accordion_dd_"+provision_nic_accordion_dd_id+"_SCHED_REQUIREMENTS", dd_context).val(options.nic["SCHED_REQUIREMENTS"].split('"').join("\\\""));
}

if ( options.nic["SCHED_RANK"] ) {
Expand Down

0 comments on commit af5b8af

Please sign in to comment.