offline: fix bugs caused by recent layout updates

This commit is contained in:
Andrew Dolgov 2010-01-15 14:02:14 +03:00
parent b3af99a0c5
commit 65216276e9
2 changed files with 2 additions and 3 deletions

View File

@ -211,7 +211,7 @@ function viewfeed_offline(feed_id, subop, is_cat, subop_param, skip_history, off
var toolbar_form = document.forms["main_toolbar_form"]; var toolbar_form = document.forms["main_toolbar_form"];
var limit = toolbar_form.limit[toolbar_form.limit.selectedIndex].value; //var limit = toolbar_form.limit[toolbar_form.limit.selectedIndex].value;
var view_mode = toolbar_form.view_mode[toolbar_form.view_mode.selectedIndex].value; var view_mode = toolbar_form.view_mode[toolbar_form.view_mode.selectedIndex].value;
var limit_qpart = ""; var limit_qpart = "";
@ -602,7 +602,6 @@ function init_offline() {
store.enabled = true; store.enabled = true;
Element.hide("dispSwitchPrompt"); Element.hide("dispSwitchPrompt");
Element.hide("feedBrowserPrompt");
Element.hide("topLinksOnline"); Element.hide("topLinksOnline");
Element.show("topLinksOffline"); Element.show("topLinksOffline");

View File

@ -224,7 +224,7 @@
<option value="score"><?php echo __('Score') ?></option> <option value="score"><?php echo __('Score') ?></option>
</select> </select>
<button onclick="return viewCurrentFeed('ForceUpdate')"> <button name="update" onclick="return viewCurrentFeed('ForceUpdate')">
<?php echo __('Update') ?></button> <?php echo __('Update') ?></button>
<button onclick="return catchupCurrentFeed()"> <button onclick="return catchupCurrentFeed()">