mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
more dialog-related cleanup
This commit is contained in:
@@ -26,7 +26,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||
|
||||
function batch_edit_cbox($elem, $label = false) {
|
||||
print "<input type=\"checkbox\" title=\"".__("Check to enable field")."\"
|
||||
onchange=\"dijit.byId('feedEditDlg').toggleField(this, '$elem', '$label')\">";
|
||||
onchange=\"App.dialogOf(this).toggleField(this, '$elem', '$label')\">";
|
||||
}
|
||||
|
||||
function renamecat() {
|
||||
@@ -807,7 +807,8 @@ class Pref_Feeds extends Handler_Protected {
|
||||
$title = htmlspecialchars($title, ENT_QUOTES);
|
||||
|
||||
print "<footer>
|
||||
<button style='float : left' class='alt-danger' dojoType='dijit.form.Button' onclick='return CommonDialogs.unsubscribeFeed($feed_id, \"$title\")'>".
|
||||
<button style='float : left' class='alt-danger' dojoType='dijit.form.Button'
|
||||
onclick='App.dialogOf(this).unsubscribeFeed($feed_id, \"$title\")'>".
|
||||
__('Unsubscribe')."</button>
|
||||
<button dojoType='dijit.form.Button' class='alt-primary' type='submit'>".__('Save')."</button>
|
||||
<button dojoType='dijit.form.Button' onclick='App.dialogOf(this).hide()'>".__('Cancel')."</button>
|
||||
|
||||
Reference in New Issue
Block a user