From: john Date: Thu, 18 Oct 2018 04:52:33 +0000 (+0800) Subject: Roo/bootstrap/MoneyField.js X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=fd81f8849addca7a262415ff1cfc46caa24cb9f0 Roo/bootstrap/MoneyField.js roojs-bootstrap.js roojs-bootstrap-debug.js --- diff --git a/Roo/bootstrap/MoneyField.js b/Roo/bootstrap/MoneyField.js index a7f0b0dfde..f681c79fb2 100644 --- a/Roo/bootstrap/MoneyField.js +++ b/Roo/bootstrap/MoneyField.js @@ -108,7 +108,7 @@ Roo.extend(Roo.bootstrap.MoneyField, Roo.bootstrap.ComboBox, { cls: 'hidden-number-input' }; - if(!this.max_length) { + if(this.max_length) { input.maxlength = this.max_length; } diff --git a/roojs-bootstrap-debug.js b/roojs-bootstrap-debug.js index ef33dcfffc..376ccb12f7 100644 --- a/roojs-bootstrap-debug.js +++ b/roojs-bootstrap-debug.js @@ -40516,7 +40516,7 @@ Roo.extend(Roo.bootstrap.MoneyField, Roo.bootstrap.ComboBox, { cls: 'hidden-number-input' }; - if(!this.max_length) { + if(this.max_length) { input.maxlength = this.max_length; } diff --git a/roojs-bootstrap.js b/roojs-bootstrap.js index 0583df18da..9588c9f5f8 100644 --- a/roojs-bootstrap.js +++ b/roojs-bootstrap.js @@ -1662,7 +1662,7 @@ var B="";for(var i=1;i