From 0659ff623370afe03d5b31e5694cfb918aeea409 Mon Sep 17 00:00:00 2001 From: tophf Date: Wed, 6 Dec 2017 11:35:04 +0300 Subject: [PATCH] set "use default" button actual state on opening config dialog --- manage/config-dialog.js | 1 + 1 file changed, 1 insertion(+) diff --git a/manage/config-dialog.js b/manage/config-dialog.js index dacaafc6..6c6e3273 100644 --- a/manage/config-dialog.js +++ b/manage/config-dialog.js @@ -54,6 +54,7 @@ function configDialog(style) { buttons.save = $('[data-cmd="save"]', box); buttons.default = $('[data-cmd="default"]', box); buttons.close = $('[data-cmd="close"]', box); + updateButtons(); } function onchange({target}) {