mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[IMP] web_translate_dialog_page: animate autosize of textareas
(/home/gbaconnier/code/openerp/c2c-web-addons/lp6.1-main rev 12)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user