diff options
Diffstat (limited to 'js/PrefHelpers.js')
-rw-r--r-- | js/PrefHelpers.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/js/PrefHelpers.js b/js/PrefHelpers.js index 6a62cb593..4b908204c 100644 --- a/js/PrefHelpers.js +++ b/js/PrefHelpers.js @@ -150,6 +150,12 @@ define(["dojo/_base/declare"], function (declare) { id: "cssEditDlg", title: __("Customize stylesheet"), style: "width: 600px", + apply: function() { + xhrPost("backend.php", this.attr('value'), () => { + new Effect.Appear("css_edit_apply_msg"); + $("user_css_style").innerText = this.attr('value'); + }); + }, execute: function () { Notify.progress('Saving data...', true); |