From fd81f8849addca7a262415ff1cfc46caa24cb9f0 Mon Sep 17 00:00:00 2001 From: john Date: Thu, 18 Oct 2018 12:52:33 +0800 Subject: [PATCH] Roo/bootstrap/MoneyField.js roojs-bootstrap.js roojs-bootstrap-debug.js --- Roo/bootstrap/MoneyField.js | 2 +- roojs-bootstrap-debug.js | 2 +- roojs-bootstrap.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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