Skip to content

Fix for issue 617: Display a modal warning users about functionality in IE, and suggesting switching browsers. Only shown on first visit of any session at the login page#978

Merged
benjaminvialle merged 1 commit into
MarkUsProject:masterfrom
danielstjules:issue-617
Jan 20, 2013

Conversation

@danielstjules

Copy link
Copy Markdown
Contributor

This is in reference to: #617
It uses a modal for consistency, and it's only displayed at the beginning of each session. Otherwise you'd receive the notification on each redirect, including login errors.

…in IE, and suggesting switching browsers. Only shown on first visit of any session at the login page

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should put javascript in a separate file and just include it in the view.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Benjamin,
It doesn't seem like I can create one js file such as "browser_compatibility.js" and include the code from this and issue-968. Do you have any suggestions? I'd like to avoid creating two files, are they're related, despite being used on different pages. I could use try blocks to look for the elements, but I feel like it's far from ideal. Defining functions wouldn't help either to separate the two as you mentioned we should be moving all the js to an external file, so I wouldn't have a means of calling them.
Your input is appreciated, thanks.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was just a suggestion. It is also fine like that :)

benjaminvialle added a commit that referenced this pull request Jan 20, 2013
Fix for issue 617: Display a modal warning users about functionality in IE, and suggesting switching browsers. Only shown on first visit of any session at the login page.
Closes #617
@benjaminvialle benjaminvialle merged commit 43105ad into MarkUsProject:master Jan 20, 2013
@benjaminvialle

Copy link
Copy Markdown
Member

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants