* finish task #4832.

This commit is contained in:
wangyidong
2018-09-04 11:10:51 +08:00
parent f980d46fec
commit d062805983
+8
View File
@@ -154,6 +154,14 @@ function initSteps(selector)
});
});
/* Fix bug #4832. Auto adjust textarea height. */
$('textarea.autosize').each(function()
{
var height = (this.scrollHeight + 2) + "px";
this.style.height = 'auto';
this.style.height = height;
});
var $steps = $(selector || '#steps');
var $stepTemplate = $('#stepTemplate').detach().removeClass('template').attr('id', null);
var initSortableCallTask = null;