web/data/cubicweb.htmlhelpers.js
branchstable
changeset 2378 75af50d66b0a
parent 2377 fc1fea0e87c5
child 2385 8fa16dc4b8c8
equal deleted inserted replaced
2377:fc1fea0e87c5 2378:75af50d66b0a
   228     jQuery(link).text(newText);
   228     jQuery(link).text(newText);
   229 }
   229 }
   230 
   230 
   231 
   231 
   232 function autogrow(area) {
   232 function autogrow(area) {
   233     log('scrollHeight ' + area.scrollHeight);
       
   234     log('clientHeight ' + area.clientHeight);
       
   235     if (area.scrollHeight > area.clientHeight && !window.opera) {
   233     if (area.scrollHeight > area.clientHeight && !window.opera) {
   236 	if (area.rows < 20) {
   234 	if (area.rows < 20) {
   237 	    area.rows += 2;
   235 	    area.rows += 2;
   238 	}
   236 	}
   239     }
   237     }