You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Observed in IE 11 on browserstack:
Created project with scenarios, selected menu option to "rename scenarios". No modal appeared, and there was no apparent way to rename a scenario.
Expected: Scenario renaming modal to appear, like so:
The text was updated successfully, but these errors were encountered:
The validateNewScenarioName function is used in a _.bind call in the
renameScenario function, which is called before the modal is opened.
IE throws an error because the newName variable in undefined, and trim
is called on that variable. It's not clear why this doesn't happen in
other browsers.
Refs #2315
Using _.curry appeared to call the validate function before it needed to
be called, which resulted in a JS error and prevented the modal from
being displayed. Keeping the correct scope for the validate function is
slightly reworked here so that _.curry does not need to be used, which
lets things work as expected in IE.
Refs #2315
Using _.curry appeared to call the validate function before it needed to
be called, which resulted in a JS error and prevented the modal from
being displayed. Keeping the correct scope for the validate function is
slightly reworked here so that _.curry does not need to be used, which
lets things work as expected in IE.
Also, update tests for new function signature.
Refs #2315
Observed in IE 11 on browserstack:
Created project with scenarios, selected menu option to "rename scenarios". No modal appeared, and there was no apparent way to rename a scenario.
Expected: Scenario renaming modal to appear, like so:
The text was updated successfully, but these errors were encountered: