Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix loading of actions with locator as an option

Without this change dragDropElemToElem actions won't get loaded properly (at least in Firefox).
  • Loading branch information...
commit 6517d2cbe1597676384a0708626e368604c1587d 1 parent 4304ee7
@visap visap authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 windmill/html/js/wm/ide/remote.js
View
4 windmill/html/js/wm/ide/remote.js
@@ -353,9 +353,9 @@ windmill.ui.remote = new function() {
newOpt = jQuery('<option>');
newOpt.attr("value", "opt"+reg.locator[loc]);
newOpt.html(reg.locator[loc]);
- if (state.params[newOpt.value]){
+ if (state.params[newOpt.attr('value')]){
newOpt.attr("selected", "selected");
- windmill.ui.remote.optionValue = state.params[newOpt.value];
+ windmill.ui.remote.optionValue = state.params[newOpt.attr('value')];
}
select.append(newOpt);
}
Please sign in to comment.
Something went wrong with that request. Please try again.