Roo/Toolbar.js
authorEdward <edward@roojs.com>
Tue, 19 May 2015 10:32:56 +0000 (18:32 +0800)
committerEdward <edward@roojs.com>
Tue, 19 May 2015 10:32:56 +0000 (18:32 +0800)
Roo/Toolbar.js

index bd75b09..cdf83a7 100644 (file)
@@ -526,7 +526,7 @@ Roo.Toolbar.Fill = Roo.extend(Roo.Toolbar.Spacer, {
  * @param {String} text
  */
 Roo.Toolbar.TextItem = function(cfg){
-    
+    var text ="";
     if (typeof(cfg) == 'object') {
         text = cfg.text;
     } else {