fix view source on dashbard4
[roojs1] / examples / bootstrap / dashboard4.bjs
index becdfe7..60b7285 100644 (file)
@@ -7,6 +7,7 @@
  "modOrder" : "001",
  "strings" : {
   "098f6bcd4621d373cade4e832627b4f6" : "test",
+  "9c1ab57e621c2bb257798752dbbe6f14" : "view source",
   "e93b3fa481be3932aa08bd68c3deee70" : "example 1",
   "60ee66eb2cd31823032664c2e9a79fd5" : "body goes here",
   "fb66f41b81f5973740bbfed019aa5d7d" : "Upload Images or Documents",
      "$ 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",