mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
PHRAS-863 - fix push modal events, fix jquery.selection to allow child events
This commit is contained in:
@@ -37,6 +37,7 @@
|
||||
this.$container.addClass('selectionnable');
|
||||
this.$container
|
||||
.on('click', this.options.selector, function(event) {
|
||||
event.preventDefault();
|
||||
if (typeof $this.options.selectStart === 'function') {
|
||||
$this.options.selectStart(jQuery.extend(jQuery.Event('selectStart'), event), $this);
|
||||
}
|
||||
@@ -118,8 +119,6 @@
|
||||
$this.options.selectStop(jQuery.extend(jQuery.Event('selectStop'), event), $this);
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
});
|
||||
|
||||
return;
|
||||
|
Reference in New Issue
Block a user