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

index 7552a11..1276e7e 100644 (file)
@@ -526,6 +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;
     }