Roo/bootstrap/Button.js
authorEdward <edward@roojs.com>
Thu, 17 Apr 2014 04:24:56 +0000 (12:24 +0800)
committerEdward <edward@roojs.com>
Thu, 17 Apr 2014 04:24:56 +0000 (12:24 +0800)
Roo/bootstrap/Button.js

index 2583888..35327b0 100644 (file)
@@ -227,7 +227,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
         
         if (this.menu) {
             cfg.cls += ' dropdown';
-            cfg.html = this.html  + ' <span class="caret"></span>';
+            cfg.html = cfg.html  + ' <span class="caret"></span>';
         }
         
         if (cfg.tag !== 'a' && this.href !== '') {