X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=Ticket.bjs;h=a75bf91daf93f29ce74a6a8e4bbd965c92cacc1c;hb=5025a9a9cf117341e8973b2eb325aaa4e0bd0b46;hp=b29df1f8c65e529b704cc70513e444f6e45151f0;hpb=f1511c1220b5f9106303c38797c15edc25127706;p=gitlive diff --git a/Ticket.bjs b/Ticket.bjs index b29df1f8..a75bf91d 100644 --- a/Ticket.bjs +++ b/Ticket.bjs @@ -10,7 +10,7 @@ { "listeners" : { "delete_event" : "(self, event) => {\n this.el.hide();\n return true; \n //test \n}\n ", - "response" : " (self, response_id) => { \n \n\tGLib.debug(\"got %d\", (int) response_id);\n\tif (response_id < 1) {\n\t _this.el.hide();\t\n\t this.running = false; \n\t \treturn;\n\t}\n\t \n\treturn; \n\t \n\t \n\n\t \n}" + "response" : " (self, response_id) => { \n \n\tGLib.debug(\"got %d\", (int) response_id);\n\tif (response_id < 1) {\n\t _this.el.hide();\t\n\t this.running = false; \n\t \treturn;\n\t}\n\t \n\t \n\tvar tid = RooTicket.singleton().createTicket(\n\t\n\t\t_this.project_id.selectProjectId(),\n\t\n\t\t_this.milestone_id.selectedMilestoneId(),\n\t\t_this.priority_id.selectedPriorityId() ,\n\t\t_this.classification_id.selectedClassificationId() ,\n\t\t_this.developer_id.selectedDeveloperId(),\n\t\t_this.summary.el.get_text() ,\n\t\t_this.description.el.buffer.text \n\t);\n\t\n\t\n\t \n\t \n\n\t \n}" }, "default_width" : 500, "$ deletable" : true,