- if (this.repo != null) {
- var bn = _this.name.el.get_text();
-
- var res = this.repo.setActiveTicket(
- RooTicket.singleton().getById(ticket_id != "" ? ticket_id : "-1"), bn
- );
- if (res) {
- // start the monitoring..
- GitMonitor.gitmonitor.start();
-
- }
- }
-
+
+ var ticket_id = _this.ticketsel.selectedTicketId();
+
+ if (this.repo != null) {
+ var bn = _this.name.el.get_text();