From: Alan Knowles Date: Thu, 17 Sep 2020 06:10:00 +0000 (+0800) Subject: examples/bootstrap/dashboard4.bjs X-Git-Url: http://git.roojs.org/?p=roojs1;a=commitdiff_plain;h=ab049e9a92af51de7136a2900f0ca49221a7d1cf examples/bootstrap/dashboard4.bjs examples/bootstrap/dashboard4.js --- diff --git a/examples/bootstrap/dashboard4.bjs b/examples/bootstrap/dashboard4.bjs index 6c2c64d9f4..1f9ae24170 100644 --- a/examples/bootstrap/dashboard4.bjs +++ b/examples/bootstrap/dashboard4.bjs @@ -8,6 +8,7 @@ "strings" : { "e93b3fa481be3932aa08bd68c3deee70" : "example 1", "e037df87a91c6e2727f0d9eb15c8127f" : "this is the body text", + "9cf863d802aca813531ca28b319ead90" : "Add Issue", "d9fb0367346d21079a1c52d72da61c9f" : "ticket 1" }, "items" : [ @@ -38,7 +39,8 @@ { "String weight" : "primary", "xtype" : "Button", - "$ xns" : "Roo.bootstrap" + "$ xns" : "Roo.bootstrap", + "String html" : "Add Issue" } ] } diff --git a/examples/bootstrap/dashboard4.js b/examples/bootstrap/dashboard4.js index d89ad36210..1259e08e0e 100644 --- a/examples/bootstrap/dashboard4.js +++ b/examples/bootstrap/dashboard4.js @@ -7,6 +7,7 @@ dashboard4 = new Roo.XComponent({ _strings : { 'e93b3fa481be3932aa08bd68c3deee70' :"example 1", 'e037df87a91c6e2727f0d9eb15c8127f' :"this is the body text", + '9cf863d802aca813531ca28b319ead90' :"Add Issue", 'd9fb0367346d21079a1c52d72da61c9f' :"ticket 1" }, @@ -51,6 +52,7 @@ dashboard4 = new Roo.XComponent({ }, { xtype : 'Button', + html : _this._strings['9cf863d802aca813531ca28b319ead90'] /* Add Issue */, weight : 'primary', xns : Roo.bootstrap, '|xns' : 'Roo.bootstrap'