View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 06860 | Bug reports | Theme editor | public | 2012-11-12 22:52 | 2021-10-22 12:24 |
| Reporter | jweberhofer | Assigned To | galads | ||
| Priority | normal | Severity | partial_block | ||
| Status | closed | Resolution | fixed | ||
| Product Version | 2.00+ | ||||
| Summary | 06860: Add some java-script to prevent users using the backward key by accident | ||||
| Description | Especially in long surveys the usage of the backward key may cause issues on data entering. Therefore I'd suggest the following JS-code on each site: window.onbeforeunload = function(e) { Mozilla will not display the text but only a standard text. A full documentation for the function is here: https://developer.mozilla.org/en-US/docs/DOM/window.onbeforeunload | ||||
| Tags | No tags attached. | ||||
| Bug heat | 6 | ||||
| Complete LimeSurvey version number (& build) | 120924 | ||||
| I will donate to the project if issue is resolved | No | ||||
| Browser | |||||
| Database type & version | MySQL 5.5.25 | ||||
| Server OS (if known) | opensuse 12.1 | ||||
| Webserver software & version (if known) | Apache/2.2.21 | ||||
| PHP Version | 5.3.8 | ||||
| Git branch / Pull Request URL | |||||
|
Think it's better to use some iframe to do this. An iframe is not affected by backward. PS: and then leave like this. |
|
|
I think this would be a good addition. Use jQuery to hook the event though, this will make it cross browser and will separate layout from functionality. |
|
|
Er...do we really want to add another alert? Shouldn't this be something for the user to add to template.js? |
|
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-11-12 22:52 | jweberhofer | New Issue | |
| 2012-11-13 00:21 | c_schmitz | Project | Bug reports => @10@ |
| 2012-11-14 10:30 | DenisChenu | Note Added: 22136 | |
| 2012-11-14 10:30 | DenisChenu | Note Edited: 22136 | |
| 2012-11-26 22:25 | sammousa | Note Added: 22557 | |
| 2013-01-25 18:27 | tpartner | Note Added: 23816 | |
| 2015-12-11 14:40 | c_schmitz | Category | Templates => Theme editor |
| 2021-10-22 12:24 | galads | Assigned To | => galads |
| 2021-10-22 12:24 | galads | Status | new => closed |
| 2021-10-22 12:24 | galads | Resolution | open => fixed |