Merge #15822 - Fix #15798 - Prompted for confirmation for abandoning change when not needed on run SQL Page (checkboxes)

Fixes: #15798
Pull-request: #15822
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2020-01-22 19:16:02 +01:00
commit e388a21335
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889

View File

@ -152,6 +152,13 @@ var AJAX = {
* @return void
*/
lockPageHandler: function (event) {
// don't consider checkbox event
if (typeof event.target !== 'undefined') {
if (event.target.type === 'checkbox') {
return;
}
}
var newHash = null;
var oldHash = null;
var lockId;