diff options
author | Andrew Dolgov <[email protected]> | 2021-02-12 09:02:44 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2021-02-12 09:02:44 +0300 |
commit | d466284fabe945dbc3c8034ac1468bf97b38ed94 (patch) | |
tree | c500c2f43d8f6dae470072febe9177339c0c3bc3 /js/CommonDialogs.js | |
parent | cb7c075cd2db606f251b852342c2ed90ac591252 (diff) |
* customizeCSS: client dialog
* remove hardcoded width from most dialogs (move to css)
* add helper to easily get dialog from its widget
* rework some dialog buttons to use current object instead of calling dialog by name
Diffstat (limited to 'js/CommonDialogs.js')
-rw-r--r-- | js/CommonDialogs.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/js/CommonDialogs.js b/js/CommonDialogs.js index 72c3653b3..b41065c63 100644 --- a/js/CommonDialogs.js +++ b/js/CommonDialogs.js @@ -87,7 +87,6 @@ const CommonDialogs = { const dialog = new dijit.Dialog({ id: "feedAddDlg", title: __("Subscribe to Feed"), - style: "width: 600px", content: transport.responseText, show_error: function (msg) { const elem = $("fadd_error_message"); @@ -199,7 +198,6 @@ const CommonDialogs = { const dialog = new dijit.Dialog({ id: "errorFeedsDlg", title: __("Feeds with update errors"), - style: "width: 600px", getSelectedFeeds: function () { return Tables.getSelected("error-feeds-list"); }, @@ -309,7 +307,6 @@ const CommonDialogs = { const dialog = new dijit.Dialog({ id: "feedEditDlg", title: __("Edit Feed"), - style: "width: 600px", execute: function () { if (this.validate()) { Notify.progress("Saving data...", true); @@ -372,7 +369,6 @@ const CommonDialogs = { const dialog = new dijit.Dialog({ title: __("Public OPML URL"), id: 'publicOPMLDlg', - style: "width: 600px", onCancel: function () { return true; }, @@ -425,7 +421,6 @@ const CommonDialogs = { const dialog = new dijit.Dialog({ title: __("Show as feed"), id: 'genFeedDlg', - style: "width: 600px", onCancel: function () { return true; }, |