projects
/
gitlive
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6c1942c
)
NewBranch.bjs
author
Alan Knowles
<alan@roojs.com>
Thu, 21 Mar 2019 06:35:16 +0000
(14:35 +0800)
committer
Alan Knowles
<alan@roojs.com>
Thu, 21 Mar 2019 06:35:16 +0000
(14:35 +0800)
NewBranch.vala
NewBranch.bjs
patch
|
blob
|
history
NewBranch.vala
patch
|
blob
|
history
diff --git
a/NewBranch.bjs
b/NewBranch.bjs
index
0c1fe9c
..
e5bde22
100644
(file)
--- a/
NewBranch.bjs
+++ b/
NewBranch.bjs
@@
-174,7
+174,7
@@
},
{
"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(
1
);\n}"
+ "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(
2
);\n}"
},
"label" : "Create Branch",
"| void updateState" : "() {\n\n\tvar ticket_id = _this.ticketsel.selectedTicketId();\n\t\n\tif (ticket_id == \"\") {\n\t\tthis.el.set_sensitive(false);\n\t\treturn;\n\t}\n \n\tthis.el.set_sensitive(true);\n \n}\n",
},
"label" : "Create Branch",
"| void updateState" : "() {\n\n\tvar ticket_id = _this.ticketsel.selectedTicketId();\n\t\n\tif (ticket_id == \"\") {\n\t\tthis.el.set_sensitive(false);\n\t\treturn;\n\t}\n \n\tthis.el.set_sensitive(true);\n \n}\n",
diff --git
a/NewBranch.vala
b/NewBranch.vala
index
7985727
..
69621e4
100644
(file)
--- a/
NewBranch.vala
+++ b/
NewBranch.vala
@@
-882,7
+882,7
@@
public class NewBranch : Object
return;
}
return;
}
- _this.el.response(
1
);
+ _this.el.response(
2
);
});
}
});
}