Roo/bootstrap/Link.js
authorAlan Knowles <alan@roojs.com>
Tue, 10 Mar 2015 03:20:43 +0000 (11:20 +0800)
committerAlan Knowles <alan@roojs.com>
Tue, 10 Mar 2015 03:20:43 +0000 (11:20 +0800)
Roo/bootstrap/Link.js

index c2cc985..7a9efbd 100644 (file)
@@ -44,6 +44,7 @@ Roo.extend(Roo.bootstrap.Link, Roo.bootstrap.Component,  {
     target: false,
     preventDefault: false,
     anchor : false,
+    alt : false,
 
     getAutoCreate : function()
     {
@@ -66,12 +67,12 @@ Roo.extend(Roo.bootstrap.Link, Roo.bootstrap.Component,  {
             }
         }
         
-        if(this.alt){
+        if(this.alt !== false){
             cfg.alt = this.alt;
         }
         
         
-        if(this.target){
+        if(this.target) !== false{
             cfg.target = this.target;
         }