From d466284fabe945dbc3c8034ac1468bf97b38ed94 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 12 Feb 2021 09:02:44 +0300 Subject: * 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 --- plugins/share/init.php | 6 +++--- plugins/share/share.js | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'plugins/share') diff --git a/plugins/share/init.php b/plugins/share/init.php index d0b3dfc0b..0794f5125 100644 --- a/plugins/share/init.php +++ b/plugins/share/init.php @@ -123,13 +123,13 @@ class Share extends Plugin { print ""; diff --git a/plugins/share/share.js b/plugins/share/share.js index c49f64b4b..507f27f84 100644 --- a/plugins/share/share.js +++ b/plugins/share/share.js @@ -8,7 +8,6 @@ Plugins.Share = { const dialog = new dijit.Dialog({ id: "shareArticleDlg", title: __("Share article by URL"), - style: "width: 600px", newurl: function () { if (confirm(__("Generate new share URL for this article?"))) { -- cgit v1.2.3-54-g00ecf