{
"listeners": {
"render": "function (grid)\n{\n \n _this.cal = grid;\n}",
- "eventclick": "function (_self, Ev,r )\n{\n // show the dialog..\n // reload the calendar on exit.\n Roo.log(Ev);\n Roo.log(r);\n Pman.Dialog.MTrackTicket.show({ id : r.data.id } , function(res) {\n // update the record..\n // redra\n Roo.log(\"ticket updated\");\n // start / end times?\n for(k in res) {\n r.data[k] = res[k];\n }\n \n _this.cal.renderEvents();\n \n \n });\n}",
+ "eventclick": "function (_self, Ev,r )\n{\n // show the dialog..\n // reload the calendar on exit.\n Roo.log(Ev);\n Roo.log(r);\n Pman.Dialog.MTrackTicket.show({ id : r.data.id } , function(res) {\n // update the record..\n // redra\n Roo.log(\"ticket updated\");\n // start / end times? - not sent through, so it should not update..\n for(k in res) {\n r.data[k] = res[k];\n }\n \n _this.cal.renderEvents();\n \n \n });\n}",
"eventrender": "function (_self, rec)\n{\n \n rec.data.time = ''; // not needed\n rec.data.title = rec.data.developer_id_name + ' ' + rec.data.project_id_name;\n rec.data.qtip = '#' + rec.data.id + ' ' + rec.data.summary;\n \n if (!rec.data.estimated) {\n rec.data.cls = \"Greys-q3-6 fc-black-text \"; // grey...\n } else {\n rec.data.cls = 'fc-black-text RdYlGn-q' + rec.data.priority_id_seqid +'-7'\n }\n \n \n}"
},
"*prop": "grid",