Skip to content

Commit

Permalink
Merge pull request #83 from yarogami/patch-1
Browse files Browse the repository at this point in the history
Fix loading of actions with locator as an option
  • Loading branch information
admc committed Mar 28, 2013
2 parents 4304ee7 + 6517d2c commit 695efa8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions windmill/html/js/wm/ide/remote.js
Expand Up @@ -353,9 +353,9 @@ windmill.ui.remote = new function() {
newOpt = jQuery('<option>'); newOpt = jQuery('<option>');
newOpt.attr("value", "opt"+reg.locator[loc]); newOpt.attr("value", "opt"+reg.locator[loc]);
newOpt.html(reg.locator[loc]); newOpt.html(reg.locator[loc]);
if (state.params[newOpt.value]){ if (state.params[newOpt.attr('value')]){
newOpt.attr("selected", "selected"); newOpt.attr("selected", "selected");
windmill.ui.remote.optionValue = state.params[newOpt.value]; windmill.ui.remote.optionValue = state.params[newOpt.attr('value')];
} }
select.append(newOpt); select.append(newOpt);
} }
Expand Down

0 comments on commit 695efa8

Please sign in to comment.