if (!_this.toggleBtn.pressed) {
options.params['event_id'] = 0;
+ } else {
+ options.params['!event_id'] = 0;
}
+
if (!_this.personCombo) {
return false;
}
return;
}
var id = this.getSelected().data.event_id;
- if (id *1 < 0) {
+ if (id *1 < 1) {
- this.viewPanel.setContent("No Event for this line");
+ _this.viewPanel.setContent("No Event for this line");
return;
}
_this.viewPanel.load( { url : baseURL + "/Admin/EventView/" + id + ".html" });