Bug 19267: Rancor - Warn before leaving page if record modified
authorJesse Weaver <jweaver@bywatersolutions.com>
Mon, 18 Jul 2016 22:31:20 +0000 (16:31 -0600)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 4 Apr 2018 19:06:57 +0000 (16:06 -0300)
commit18e02913a0eaf0b94421027dbcfc0965499b15a8
tree79b62ad0c771ab2c80f539bb57ecb3631101df8e
parent36db911da09f83131f82db6f8ed50ec1ad2f0029
Bug 19267: Rancor - Warn before leaving page if record modified

To test:
1 - Open the advanced editor
2 - Make some changes to a record
3 - Click on 'Patrons' or leave the page in some way
4 - Note there is no warning and changes are not saved
5 - Apply patch
6 - Open the advanced editor
7 - Make some changes
8 - Leave the page
9 - Note you get a warning of unsaved changes and can stay on the page

Signed-off-by: Charles Farmer <charles.farmer@inLibro.com>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
koha-tmpl/intranet-tmpl/prog/en/includes/cateditor-ui.inc