[Koha-bugs] [Bug 19267] Advanced Editor - Rancor - Add warning before leaving page if there are unsaved modifications
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Dec 22 21:48:12 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19267
Josef Moravec <josef.moravec at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |josef.moravec at gmail.com
Status|Signed Off |Failed QA
--- Comment #3 from Josef Moravec <josef.moravec at gmail.com> ---
Sorry, but this is wrong.
You need to return 'undefined' in case there are no changes, this patch just
fires the question dialog everytime.
See this page for more:
https://stackoverflow.com/questions/7317273/warn-user-before-leaving-web-page-with-unsaved-changes
We could also consider to add this functionality to all Koha pages (or almost
all) through some existing plugin like http://plugins.jquery.com/are-you-sure/
but thats definitely out of scope of this bug, as Rancor is a special case.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list