mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Merge pull request #2688 from NOYB/Don't_Leave_Ancestor(s)_Selected
This commit is contained in:
commit
02afb60b8b
4
src/usr/local/www/jquery/pfSense.js
vendored
4
src/usr/local/www/jquery/pfSense.js
vendored
@ -134,8 +134,10 @@ $(function() {
|
||||
if ($(this).attr('title') != undefined)
|
||||
q = 'Are you sure you wish to '+ $(this).attr('title').toLowerCase() + '?';
|
||||
|
||||
if (!confirm(q))
|
||||
if (!confirm(q)) {
|
||||
e.preventDefault();
|
||||
e.stopPropagation(); // Don't leave ancestor(s) selected.
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user