mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
stop event propagation after clicking on addtoclipboard button
This commit is contained in:
parent
a6ef05b22b
commit
4ac3dc0052
|
@ -157,6 +157,7 @@ $(document).ready( function() {
|
|||
|
||||
$('body').on('click', 'a.addtoclipboard', function(ev) { /* {{{ */
|
||||
ev.preventDefault();
|
||||
ev.stopPropagation();
|
||||
attr_rel = $(ev.currentTarget).attr('rel');
|
||||
attr_msg = $(ev.currentTarget).attr('msg');
|
||||
type = attr_rel.substring(0, 1) == 'F' ? 'folder' : 'document';
|
||||
|
|
Loading…
Reference in New Issue
Block a user