Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Rename scenario" modal does not show on IE11 #2315

Closed
ajrobbins opened this issue Sep 29, 2017 · 0 comments
Closed

"Rename scenario" modal does not show on IE11 #2315

ajrobbins opened this issue Sep 29, 2017 · 0 comments
Assignees
Labels
bug WPF Funding Source: William Penn Foundation WPF 2-7

Comments

@ajrobbins
Copy link

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:

screen shot 2017-09-29 at 5 29 48 pm

@ajrobbins ajrobbins added bug WPF Funding Source: William Penn Foundation labels Sep 29, 2017
@ajrobbins ajrobbins added this to the Production release: 1.20.0 milestone Sep 29, 2017
@ajrobbins ajrobbins changed the title "Rename scenario" modal does now show on IE11 "Rename scenario" modal does not show on IE11 Sep 29, 2017
@ajrobbins ajrobbins added 1 queue and removed 1 labels Sep 29, 2017
@caseycesari caseycesari self-assigned this Oct 3, 2017
caseycesari added a commit that referenced this issue Oct 3, 2017
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
caseycesari added a commit that referenced this issue Oct 3, 2017
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
caseycesari added a commit that referenced this issue Oct 3, 2017
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug WPF Funding Source: William Penn Foundation WPF 2-7
Projects
None yet
Development

No branches or pull requests

2 participants