From: Alan Knowles Date: Wed, 19 Dec 2018 04:58:14 +0000 (+0800) Subject: RepoStatusPopover.bjs X-Git-Url: http://git.roojs.org/?p=gitlive;a=commitdiff_plain;h=b248f5c38f652b3fc6a606a3423617451295f808 RepoStatusPopover.bjs RepoStatusPopover.vala --- diff --git a/RepoStatusPopover.bjs b/RepoStatusPopover.bjs index deadfc29..0b27a28c 100644 --- a/RepoStatusPopover.bjs +++ b/RepoStatusPopover.bjs @@ -148,7 +148,7 @@ }, { "listeners" : { - "button_press_event" : "() => {\n\n _this.el.hide();\n Clones.singleton().el.response(-1);\n MergeBranch.singleton().show(this.ticket, null); \n return false;\n}" + "button_press_event" : "() => {\n\n _this.el.hide();\n Clones.singleton().el.response(-1);\n MergeBranch.singleton().show(this.repo.activeTicket, null); \n return false;\n}" }, "label" : "Merge branch/ ticket", "xtype" : "Button", diff --git a/RepoStatusPopover.vala b/RepoStatusPopover.vala index b4621d18..1e6a3c6b 100644 --- a/RepoStatusPopover.vala +++ b/RepoStatusPopover.vala @@ -588,7 +588,7 @@ public class RepoStatusPopover : Object _this.el.hide(); Clones.singleton().el.response(-1); - MergeBranch.singleton().show(this.ticket, null); + MergeBranch.singleton().show(this.repo.activeTicket, null); return false; }); }