mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-14 00:15:55 +00:00
user css dialog: allow saving and applying CSS without closing the dialog
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user