// user defined functions
public void updateState () {
-
- if (_this.actionsel.selectedAction() == "") {
- // need to select an action..
+ var ticket_id = _this.ticketsel.selectedTicketId();
+
+ if (ticket_id == "") {
this.el.set_sensitive(false);
return;
-
-
}
- this.el.set_sensitive(true);
- return;
+
+ this.el.set_sensitive(true);
+
}
}