mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
PHRAS-999 - fix events delegation
This commit is contained in:
@@ -413,13 +413,13 @@
|
||||
this.list = null;
|
||||
this.container = $container;
|
||||
|
||||
$('.back_link', this.container).bind('click', function () {
|
||||
$container.on('click', '.back_link', function() {
|
||||
$('#PushBox').show();
|
||||
$('#ListManager').hide();
|
||||
return false;
|
||||
});
|
||||
|
||||
$('a.list_sharer', this.container).off('click').on('click', function () {
|
||||
$container.on('click', 'a.list_sharer', function() {
|
||||
|
||||
var $this = $(this),
|
||||
options = {
|
||||
@@ -434,8 +434,7 @@
|
||||
return false;
|
||||
});
|
||||
|
||||
|
||||
$('a.user_adder', this.container).bind('click', function () {
|
||||
$container.on('click', 'a.user_adder', function() {
|
||||
|
||||
var $this = $(this);
|
||||
|
||||
|
Reference in New Issue
Block a user