mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-13 15:25:59 +00:00
js-ification: start on some common dialogs
This commit is contained in:
@@ -1149,7 +1149,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||
if ($num_errors > 0) {
|
||||
|
||||
$error_button = "<button dojoType=\"dijit.form.Button\"
|
||||
onclick=\"showFeedsWithErrors()\" id=\"errorButton\">" .
|
||||
onclick=\"CommonDialogs.showFeedsWithErrors()\" id=\"errorButton\">" .
|
||||
__("Feeds with errors") . "</button>";
|
||||
}
|
||||
|
||||
@@ -1190,7 +1190,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||
print "<div dojoType=\"dijit.form.DropDownButton\">".
|
||||
"<span>" . __('Feeds')."</span>";
|
||||
print "<div dojoType=\"dijit.Menu\" style=\"display: none;\">";
|
||||
print "<div onclick=\"quickAddFeed()\"
|
||||
print "<div onclick=\"CommonDialogs.quickAddFeed()\"
|
||||
dojoType=\"dijit.MenuItem\">".__('Subscribe to feed')."</div>";
|
||||
print "<div onclick=\"editSelectedFeed()\"
|
||||
dojoType=\"dijit.MenuItem\">".__('Edit selected feeds')."</div>";
|
||||
|
||||
Reference in New Issue
Block a user