add namespace to internal save event handler

This commit is contained in:
vitalets 2012-12-10 22:05:43 +04:00
parent 9a2cacc2a7
commit 579fa31c70

@ -250,9 +250,7 @@ Makes editable any HTML element on the page. Applied as jQuery method.
value: this.value
});
this.$element.editableContainer(containerOptions);
this.$element.on({
save: $.proxy(this.save, this)
});
this.$element.on("save.internal", $.proxy(this.save, this));
this.container = this.$element.data('editableContainer');
} else if(this.container.tip().is(':visible')) {
return;
@ -569,4 +567,4 @@ Makes editable any HTML element on the page. Applied as jQuery method.
display: null
};
}(window.jQuery));
}(window.jQuery));