Pman.Tab.AdminEnum.bjs
[Pman.Admin] / Pman.Tab.AdminNotify.bjs
index d1655db..32247ad 100644 (file)
@@ -34,6 +34,7 @@
    "$ xns" : "Roo",
    "String region" : "center",
    "String title" : "Current Notifications",
+   "Boolean background" : false,
    "items" : [
     {
      "xtype" : "BorderLayout",
             }
            ]
           },
+          {
+           "listeners" : {
+            "afterselectionchange" : "function (_self)\n{\n    // load detail log in _this.viewPanel;\n    if (!this.getSelected()) {\n        this.viewPanel.setContent(\"Nothing Selected\");\n        return;\n    }\n    var id = this.getSelected().data.event_id;\n    if (id *1 < 0) {\n    \n        this.viewPanel.setContent(\"No Event for this line\");    \n        return;\n    }\n    _this.viewPanel.load( { url : baseURL + \"/Admin/EventView/\" + id + \".html\" });\n    \n}"
+           },
+           "xtype" : "RowSelectionModel",
+           "singleSelect" : true,
+           "$ xns" : "Roo.grid",
+           "* prop" : "sm"
+          },
           {
            "pageSize" : 25,
            "xtype" : "PagingToolbar",