mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Don't Leave Ancestor(s) Selected
This commit is contained in:
parent
636918c95f
commit
82d4c81b0e
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