Roo/bootstrap/Button.js
authorEdward <edward@roojs.com>
Wed, 16 Apr 2014 12:09:03 +0000 (20:09 +0800)
committerEdward <edward@roojs.com>
Wed, 16 Apr 2014 12:09:03 +0000 (20:09 +0800)
Roo/bootstrap/Button.js

index e951318..bec1d57 100644 (file)
@@ -173,6 +173,7 @@ Roo.extend(Roo.bootstrap.Button, Roo.bootstrap.Component,  {
         } 
         else if (this.menu) {
             cfg.cls += ' dropdown';
+            cfg.html = this.html  + ' <span class="caret"></span>';
         }
         
         if (this.disabled) {