From f0d25a51958a8498e5bccadfc19f6573ff153b60 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Wed, 22 Oct 2014 08:43:28 +0200 Subject: [PATCH] WEBUI JS: Debugging tab - change save to apply --- src/webui/static/app/ext.css | 4 ++++ src/webui/static/app/tvhlog.js | 10 +++++----- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/src/webui/static/app/ext.css b/src/webui/static/app/ext.css index f37b7f85..e9f1b673 100644 --- a/src/webui/static/app/ext.css +++ b/src/webui/static/app/ext.css @@ -182,6 +182,10 @@ background-image: url(../icons/save.png) !important; } +.apply { + background-image: url(../icons/accept.png) !important; +} + .rec { background-image: url(../icons/rec.png) !important; } diff --git a/src/webui/static/app/tvhlog.js b/src/webui/static/app/tvhlog.js index 36cbeb16..ba3f0b56 100644 --- a/src/webui/static/app/tvhlog.js +++ b/src/webui/static/app/tvhlog.js @@ -47,9 +47,9 @@ tvheadend.tvhlog = function(panel, index) { * ***************************************************************/ var saveButton = new Ext.Button({ - text: "Save configuration", - tooltip: 'Save changes made to configuration below', - iconCls: 'save', + text: "Apply configuration (run-time only)", + tooltip: 'Apply changes made bellow to the run-time configuration
They will be lost on restart.', + iconCls: 'apply', handler: saveChanges }); @@ -109,9 +109,9 @@ tvheadend.tvhlog = function(panel, index) { params: { op: 'saveSettings' }, - waitMsg: 'Saving Data...', + waitMsg: 'Applying Data...', failure: function(form, action) { - Ext.Msg.alert('Save failed', action.result.errormsg); + Ext.Msg.alert('Apply failed', action.result.errormsg); } }); }