From: Alan Knowles Date: Thu, 11 Sep 2014 08:41:42 +0000 (+0800) Subject: examples/bootstrap/dashboard1.bjs.M0VFMX X-Git-Url: http://git.roojs.org/?a=commitdiff_plain;h=52872d2ddaffdab0503bc56d3ad749844f90aa84;p=roojs1 examples/bootstrap/dashboard1.bjs.M0VFMX examples/bootstrap/dashboard1.bjs examples/bootstrap/dashboard1.js.PV0FMX examples/bootstrap/dashboard1.js examples/bootstrap/dashboard1.bjs.Q755LX examples/bootstrap/dashboard1.js.BLO5LX --- diff --git a/examples/bootstrap/dashboard1.bjs b/examples/bootstrap/dashboard1.bjs index c9fc671739..a7ea7a4b51 100644 --- a/examples/bootstrap/dashboard1.bjs +++ b/examples/bootstrap/dashboard1.bjs @@ -368,7 +368,8 @@ "items" : [ { "xtype" : "Button", - "$ xns" : "Roo.bootstrap" + "$ xns" : "Roo.bootstrap", + "* prop" : "before" } ] } diff --git a/examples/bootstrap/dashboard1.js b/examples/bootstrap/dashboard1.js index ce91db73bd..6ea1b20ca7 100644 --- a/examples/bootstrap/dashboard1.js +++ b/examples/bootstrap/dashboard1.js @@ -383,15 +383,16 @@ dashboard1 = new Roo.XComponent({ html : 'With buttons' }, { + before : { + xtype : 'Button', + xns : Roo.bootstrap + }, xtype : 'Input', placeholder : 'before : - an object... ', xns : Roo.bootstrap, size : 'md', items : [ - { - xtype : 'Button', - xns : Roo.bootstrap - } + ] }