allow emptytext to be html, fix

This commit is contained in:
vitalets
2013-06-15 16:39:15 +04:00
parent 118b5a50d4
commit ef6151ff15
2 changed files with 2 additions and 1 deletions

@ -287,7 +287,7 @@ Makes editable any HTML element on the page. Applied as jQuery method.
//emptytext shown only for enabled
if(!this.options.disabled) {
if (this.isEmpty) {
this.$element.text(this.options.emptytext);
this.$element.html(this.options.emptytext);
if(this.options.emptyclass) {
this.$element.addClass(this.options.emptyclass);
}