Roo/bootstrap/Input.js
authorAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 09:33:41 +0000 (17:33 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 11 Sep 2014 09:33:41 +0000 (17:33 +0800)
Roo/bootstrap/Input.js

index be96cbe..2f20265 100644 (file)
@@ -301,7 +301,7 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component,  {
                 inputblock.cn.push({
                     tag :'span',
                     cls : 'roo-input-after input-group-' +
-                        (this.before.xtype == 'Button' ? 'btn' : 'addon')  //?? what about checkboxes - that looks like a bit of a hack thought? 
+                        (this.after.xtype == 'Button' ? 'btn' : 'addon')  //?? what about checkboxes - that looks like a bit of a hack thought? 
                 });
             }
         };