~vcs-imports/windmill/trunk

« back to all changes in this revision

Viewing changes to windmill/html/js/wm/ide/remote.js

  • Committer: Adam Christian
  • Date: 2013-03-28 00:47:02 UTC
  • mfrom: (1588.1.1)
  • Revision ID: git-v1:695efa8fbe5afc0a88b8fae4c2328e69f1296740
Merge pull request #83 from yarogami/patch-1

Fix loading of actions with locator as an option

Show diffs side-by-side

added added

removed removed

Lines of Context:
353
353
          newOpt = jQuery('<option>');
354
354
          newOpt.attr("value", "opt"+reg.locator[loc]);
355
355
          newOpt.html(reg.locator[loc]);
356
 
          if (state.params[newOpt.value]){
 
356
          if (state.params[newOpt.attr('value')]){
357
357
            newOpt.attr("selected", "selected");
358
 
            windmill.ui.remote.optionValue = state.params[newOpt.value];
 
358
            windmill.ui.remote.optionValue = state.params[newOpt.attr('value')];
359
359
          }
360
360
          select.append(newOpt);
361
361
        }