Roo/bootstrap/Img.js
authorJulian Knowles <julian@roojs.com>
Mon, 20 Jan 2014 10:29:50 +0000 (18:29 +0800)
committerJulian Knowles <julian@roojs.com>
Mon, 20 Jan 2014 10:29:50 +0000 (18:29 +0800)
Roo/bootstrap/Img.js

index f3fbfa0..2ebf07f 100644 (file)
@@ -48,6 +48,8 @@ Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component,  {
             cfg.cls += ' img-' + this.border;
         }
         
+        cfg.alt = this.alt || null;
+        
         return cfg;
     }