add namespace to internal save event handler
This commit is contained in:
@ -250,9 +250,7 @@ Makes editable any HTML element on the page. Applied as jQuery method.
|
|||||||
value: this.value
|
value: this.value
|
||||||
});
|
});
|
||||||
this.$element.editableContainer(containerOptions);
|
this.$element.editableContainer(containerOptions);
|
||||||
this.$element.on({
|
this.$element.on("save.internal", $.proxy(this.save, this));
|
||||||
save: $.proxy(this.save, this)
|
|
||||||
});
|
|
||||||
this.container = this.$element.data('editableContainer');
|
this.container = this.$element.data('editableContainer');
|
||||||
} else if(this.container.tip().is(':visible')) {
|
} else if(this.container.tip().is(':visible')) {
|
||||||
return;
|
return;
|
||||||
@ -569,4 +567,4 @@ Makes editable any HTML element on the page. Applied as jQuery method.
|
|||||||
display: null
|
display: null
|
||||||
};
|
};
|
||||||
|
|
||||||
}(window.jQuery));
|
}(window.jQuery));
|
||||||
|
Reference in New Issue
Block a user