summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-08 10:43:49 +0300
committerAndrew Dolgov <[email protected]>2021-03-08 10:43:49 +0300
commit1fb7125f90b3d11aecf83da58ef513ff8902a84a (patch)
tree362b394cd7b95bcd153ef3ba38017662027aa1d8 /index.php
parent5db6939dc9628886391bcaa18965de94727c96d9 (diff)
minor cleanup related to toolbar-main (use dijit methods, etc)
Diffstat (limited to 'index.php')
-rw-r--r--index.php7
1 files changed, 3 insertions, 4 deletions
diff --git a/index.php b/index.php
index 51bd99e5e..573df98ac 100644
--- a/index.php
+++ b/index.php
@@ -168,10 +168,10 @@
</div>
- <form id="toolbar-main" action="" style="order : 20" onsubmit='return false'>
+ <form id="toolbar-main" dojoType="dijit.form.Form" action="" style="order : 20" onsubmit="return false">
<select name="view_mode" title="<?= __('Show articles') ?>"
- onchange="App.onViewModeChanged()"
+ onchange="Feeds.onViewModeChanged()"
dojoType="fox.form.Select">
<option selected="selected" value="adaptive"><?= __('Adaptive') ?></option>
<option value="all_articles"><?= __('All Articles') ?></option>
@@ -179,11 +179,10 @@
<option value="published"><?= __('Published') ?></option>
<option value="unread"><?= __('Unread') ?></option>
<option value="has_note"><?= __('With Note') ?></option>
- <!-- <option value="noscores"><?= __('Ignore Scoring') ?></option> -->
</select>
<select title="<?= __('Sort articles') ?>"
- onchange="App.onViewModeChanged()"
+ onchange="Feeds.onViewModeChanged()"
dojoType="fox.form.Select" name="order_by">
<option selected="selected" value="default"><?= __('Default') ?></option>