X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=examples%2Fbootstrap%2Fdashboard4.bjs;fp=examples%2Fbootstrap%2Fdashboard4.bjs;h=60b72859528a26803ff920b8e327b4d840d6e5dd;hp=becdfe705f238279642907f2f40a9bc15a8117b8;hb=2b33573f81a301e8ee55ba2bbb872b7edd18f4f6;hpb=1058d8298e1db26a6df52e7899b8cf205d405cf5 diff --git a/examples/bootstrap/dashboard4.bjs b/examples/bootstrap/dashboard4.bjs index becdfe705f..60b7285952 100644 --- a/examples/bootstrap/dashboard4.bjs +++ b/examples/bootstrap/dashboard4.bjs @@ -7,6 +7,7 @@ "modOrder" : "001", "strings" : { "098f6bcd4621d373cade4e832627b4f6" : "test", + "9c1ab57e621c2bb257798752dbbe6f14" : "view source", "e93b3fa481be3932aa08bd68c3deee70" : "example 1", "60ee66eb2cd31823032664c2e9a79fd5" : "body goes here", "fb66f41b81f5973740bbfed019aa5d7d" : "Upload Images or Documents", @@ -25,8 +26,12 @@ "$ xns" : "Roo.bootstrap", "items" : [ { + "listeners" : { + "click" : "function (btn, e)\n{\n // assumes installed as /roojs1.\n Roo.docs.ViewSource.show({\n src: '/roojs1/examples/bootstrap/dashboard4.js'\n });\n}" + }, "xtype" : "Button", - "$ xns" : "Roo.bootstrap" + "$ xns" : "Roo.bootstrap", + "String html" : "view source" }, { "xtype" : "Row",