mirror of https://github.com/OCA/web.git
[IMP] web_translate_dialog_page: animate autosize of textareas
(/home/gbaconnier/code/openerp/c2c-web-addons/lp6.1-main rev 12)pull/4/head
parent
cf18060ad2
commit
557baeea4b
|
@ -62,7 +62,7 @@ openerp.web_translate_dialog_page = function (openerp) {
|
|||
$(this).toggleClass('touched', ($(this).val() != $(this).attr('data-value')));
|
||||
});
|
||||
var $textarea = self.$fields_form.find('textarea.oe_trad_field');
|
||||
$textarea.autosize();
|
||||
$textarea.addClass('autosizeAnimated').autosize({append: "\n"});
|
||||
$textarea.css({minHeight:'100px'});
|
||||
});
|
||||
return this;
|
||||
|
|
Loading…
Reference in New Issue