1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 13:55:55 +00:00

further objectification of JS code

This commit is contained in:
Andrew Dolgov
2018-12-01 17:21:26 +03:00
parent 049a37aa0e
commit d86ddbc635
7 changed files with 345 additions and 359 deletions

View File

@@ -207,16 +207,16 @@
<option value="title"><?php echo __('Title') ?></option>
</select>
<div dojoType="dijit.form.ComboButton" onclick="catchupCurrentFeed()">
<div dojoType="dijit.form.ComboButton" onclick="Feeds.catchupCurrentFeed()">
<span><?php echo __('Mark as read') ?></span>
<div dojoType="dijit.DropDownMenu">
<div dojoType="dijit.MenuItem" onclick="catchupCurrentFeed('1day')">
<div dojoType="dijit.MenuItem" onclick="Feeds.catchupCurrentFeed('1day')">
<?php echo __('Older than one day') ?>
</div>
<div dojoType="dijit.MenuItem" onclick="catchupCurrentFeed('1week')">
<div dojoType="dijit.MenuItem" onclick="Feeds.catchupCurrentFeed('1week')">
<?php echo __('Older than one week') ?>
</div>
<div dojoType="dijit.MenuItem" onclick="catchupCurrentFeed('2week')">
<div dojoType="dijit.MenuItem" onclick="Feeds.catchupCurrentFeed('2week')">
<?php echo __('Older than two weeks') ?>
</div>
</div>