+ [task#126393] add the changeRows function of thinkmulticolumn widget.

This commit is contained in:
wangzemei
2024-08-23 10:36:31 +08:00
committed by 刘刚
parent a31f0ab352
commit 9928f7fa7d
+13
View File
@@ -0,0 +1,13 @@
/**
* 处理输入框值变化。
* Handling input box value changes.
*
* @access public
* @return void
*/
window.changeRows = function()
{
const value = $(this).val();
const intValue = value < 1 ? 1 : parseInt(value, 10);
$(this).val(intValue);
}