undefined, _feed_cur_page+1);
} catch (e) {
- exception_error(e, "viewFeedGoPage");
+ exception_error("viewFeedGoPage", e);
}
}
try {
// called from prefs, reload tab
- if (active_tab) {
+ if (typeof active_tab != 'undefined' && active_tab) {
selectTab(active_tab, false);
}
} catch (e) { }
function createFilter() {
- var form = document.forms['filter_add_form'];
- var reg_exp = form.reg_exp.value;
-
- if (reg_exp == "") {
- alert(__("Can't add filter: nothing to match on."));
- return false;
- }
-
- var query = Form.serialize("filter_add_form");
-
- // we can be called from some other tab in Prefs
- if (active_tab) active_tab = "filterConfig";
+ try {
- new Ajax.Request("backend.php?" + query, {
- onComplete: function (transport) {
- infobox_submit_callback2(transport);
- } });
+ var form = document.forms['filter_add_form'];
+ var reg_exp = form.reg_exp.value;
+
+ if (reg_exp == "") {
+ alert(__("Can't add filter: nothing to match on."));
+ return false;
+ }
- return true;
+ var query = Form.serialize("filter_add_form");
+
+ // we can be called from some other tab in Prefs
+ if (typeof active_tab != 'undefined' && active_tab) {
+ active_tab = "filterConfig";
+ }
+
+ new Ajax.Request("backend.php?" + query, {
+ onComplete: function (transport) {
+ infobox_submit_callback2(transport);
+ } });
+
+ return true;
+
+ } catch (e) {
+ exception_error("createFilter", e);
+ }
}
function toggleSubmitNotEmpty(e, submit_id) {
}
} catch (e) {
- exception_error(e, "filterDlgCheckAction");
+ exception_error("filterDlgCheckAction", e);
}
}
var e = document.getElementById(id);
if (e) e.focus();
} catch (e) {
- exception_error(e, "focus_element");
+ exception_error("focus_element", e);
}
return false;
}
// queue: { position: 'end', scope: 'FLFADEQ', limit: 1 }});
}
} catch (e) {
- exception_error(e, "toggle_feedlist");
+ exception_error("toggle_feedlist", e);
}
} */
setCookie("ttrss_vf_fclps", "1");
}
} catch (e) {
- exception_error(e, "toggle_feedlist");
+ exception_error("toggle_feedlist", e);
}
}
}
} catch (e) {
- exception_error(e, "adjustArticleScore");
+ exception_error("adjustArticleScore", e);
}
}
} */
} catch (e) {
- exception_error(e, "moveToPost");
+ exception_error("moveToPost", e);
}
}
row.className = nc;
}
} catch (e) {
- exception_error(e, "toggleSelected");
+ exception_error("toggleSelected", e);
}
}
elem.style.backgroundColor = "";
} catch (e) {
- exception_error(e, "toggleUnread_afh");
+ exception_error("toggleUnread_afh", e);
}
}
found_tags.selectedIndex = 0;
} catch (e) {
- exception_error(e, "editTagsInsert");
+ exception_error("editTagsInsert", e);
}
}
}
} catch (e) {
- exception_error(e, "cdmArticleIsVisible");
+ exception_error("cdmArticleIsVisible", e);
}
}
}
} catch (e) {
- exception_error(e, "cdmArticleIsVisible");
+ exception_error("cdmArticleIsVisible", e);
}
}
ctr.scrollTop = e.offsetTop;
} catch (e) {
- exception_error(e, "cdmScrollToArticleId");
+ exception_error("cdmScrollToArticleId", e);
}
}
return false;
} catch (e) {
- exception_error(e, "cdmArticleIsVisible");
+ exception_error("cdmArticleIsVisible", e);
}
}
_cdm_wd_timeout = window.setTimeout("cdmWatchdog()", 4000);
} catch (e) {
- exception_error(e, "cdmWatchdog");
+ exception_error("cdmWatchdog", e);
}
}