NewBranch.bjs
authorAlan Knowles <alan@roojs.com>
Thu, 21 Mar 2019 06:28:55 +0000 (14:28 +0800)
committerAlan Knowles <alan@roojs.com>
Thu, 21 Mar 2019 06:28:55 +0000 (14:28 +0800)
NewBranch.vala

NewBranch.bjs
NewBranch.vala

index 7b82a84..74014e7 100644 (file)
           },
           {
            "listeners" : {
           },
           {
            "listeners" : {
-            "clicked" : "() => {\n\n\tGLib.debug(\"fire response = 1\");\n\t\n\tvar ticket_id = _this.ticketsel.selectedTicketId();\n\t\n\tif (ticket_id == \"\") {\n\t\t_this.ticketsel.el.get_child().get_style_context().add_class(\"warning\");\n\t\treturn;\n\t}\n\t \n\t_this.el.response(3);\n}"
+            "clicked" : "() => {\n\n\tGLib.debug(\"fire response = 1\");\n\t\n\t \n\t \n\t_this.el.response(3);\n}"
            },
            "label" : "Commit Changes",
            "id" : "createbtn",
            },
            "label" : "Commit Changes",
            "id" : "createbtn",
index 6046cea..3a86bd3 100644 (file)
@@ -2412,12 +2412,7 @@ public class NewBranch : Object
             
                GLib.debug("fire response = 1");
                
             
                GLib.debug("fire response = 1");
                
-               var ticket_id = _this.ticketsel.selectedTicketId();
-               
-               if (ticket_id == "") {
-                       _this.ticketsel.el.get_child().get_style_context().add_class("warning");
-                       return;
-               }
+                
                 
                _this.el.response(3);
             });
                 
                _this.el.response(3);
             });