success moved to editableform

This commit is contained in:
vitalets
2012-11-22 18:14:57 +04:00
parent c3b53ec070
commit e79118f0cf
8 changed files with 118 additions and 51 deletions

@ -41,12 +41,18 @@
},
hide: function () {
if(!this.tip() || !this.tip().is(':visible')) {
return;
}
this.$form.hide(this.options.anim, $.proxy(function() {
this.$element.show();
//return focus on element
if (this.options.enablefocus) {
this.$element.focus();
}
}
//trigger event
this.$element.triggerHandler('hidden');
}, this));
},