From 98797335d218f8359946f82b640020645e51850a Mon Sep 17 00:00:00 2001 From: Edward Date: Wed, 16 Apr 2014 15:20:19 +0800 Subject: [PATCH] Roo/bootstrap/Img.js --- Roo/bootstrap/Img.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Roo/bootstrap/Img.js b/Roo/bootstrap/Img.js index aacb308215..1e750098de 100644 --- a/Roo/bootstrap/Img.js +++ b/Roo/bootstrap/Img.js @@ -15,6 +15,7 @@ * @cfg {String} src image source * @cfg {String} alt image alternative text * @cfg {String} href a tag href + * @cfg {String} target (_self|_blank|_parent|_top)target for a href. * * @constructor * Create a new Input @@ -71,6 +72,11 @@ Roo.extend(Roo.bootstrap.Img, Roo.bootstrap.Component, { cfg ] } + + if(this.target){ + a.target = this.target; + } + } -- 2.39.2