} catch (e) {
exception_error(e, "toggle_feedlist");
}
+}
+function viewModeChanged() {
+ cache_empty();
+ return viewCurrentFeed(0, '')
+}
-
+function viewLimitChanged() {
+ cache_empty();
+ return viewCurrentFeed(0, '')
}
<?php } ?>
<?php echo __('View:') ?>
- <select name="view_mode" onchange="viewCurrentFeed(0, '')">
+ <select name="view_mode" onchange="viewModeChanged()">
<option selected value="adaptive"><?php echo __('Adaptive') ?></option>
<option value="all_articles"><?php echo __('All Articles') ?></option>
<option value="marked"><?php echo __('Starred') ?></option>
}
print_select_hash("limit", $def_art_limit, $limits,
- 'onchange="viewCurrentFeed(0, \'\')"');
+ 'onchange="viewLimitChanged()"');
?>
}
}
+function cache_empty() {
+ article_cache = new Array();
+}
+
function cache_invalidate(id) {
var i = 0