properly validate feed editor dialog
This commit is contained in:
parent
d57e7eaa98
commit
dcfea9baac
|
@ -803,7 +803,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||||
<button style='float : left' class='alt-danger' dojoType='dijit.form.Button'
|
<button style='float : left' class='alt-danger' dojoType='dijit.form.Button'
|
||||||
onclick='App.dialogOf(this).unsubscribeFeed($feed_id, \"$title\")'>".
|
onclick='App.dialogOf(this).unsubscribeFeed($feed_id, \"$title\")'>".
|
||||||
__('Unsubscribe')."</button>
|
__('Unsubscribe')."</button>
|
||||||
<button dojoType='dijit.form.Button' class='alt-primary' type='submit'>".__('Save')."</button>
|
<button dojoType='dijit.form.Button' class='alt-primary' onclick='return App.dialogOf(this).execute()' type='submit'>".__('Save')."</button>
|
||||||
<button dojoType='dijit.form.Button' onclick='App.dialogOf(this).hide()'>".__('Cancel')."</button>
|
<button dojoType='dijit.form.Button' onclick='App.dialogOf(this).hide()'>".__('Cancel')."</button>
|
||||||
</footer>";
|
</footer>";
|
||||||
}
|
}
|
||||||
|
|
|
@ -425,7 +425,9 @@ const CommonDialogs = {
|
||||||
Feeds.reload();
|
Feeds.reload();
|
||||||
|
|
||||||
});
|
});
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
},
|
},
|
||||||
content: __("Loading, please wait...")
|
content: __("Loading, please wait...")
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue