WEBUI JS: Debugging tab - change save to apply

This commit is contained in:
Jaroslav Kysela 2014-10-22 08:43:28 +02:00
parent c2661b0dc7
commit f0d25a5195
2 changed files with 9 additions and 5 deletions

View file

@ -182,6 +182,10 @@
background-image: url(../icons/save.png) !important; background-image: url(../icons/save.png) !important;
} }
.apply {
background-image: url(../icons/accept.png) !important;
}
.rec { .rec {
background-image: url(../icons/rec.png) !important; background-image: url(../icons/rec.png) !important;
} }

View file

@ -47,9 +47,9 @@ tvheadend.tvhlog = function(panel, index) {
* ***************************************************************/ * ***************************************************************/
var saveButton = new Ext.Button({ var saveButton = new Ext.Button({
text: "Save configuration", text: "Apply configuration (run-time only)",
tooltip: 'Save changes made to configuration below', tooltip: 'Apply changes made bellow to the run-time configuration<br/>They will be lost on restart.',
iconCls: 'save', iconCls: 'apply',
handler: saveChanges handler: saveChanges
}); });
@ -109,9 +109,9 @@ tvheadend.tvhlog = function(panel, index) {
params: { params: {
op: 'saveSettings' op: 'saveSettings'
}, },
waitMsg: 'Saving Data...', waitMsg: 'Applying Data...',
failure: function(form, action) { failure: function(form, action) {
Ext.Msg.alert('Save failed', action.result.errormsg); Ext.Msg.alert('Apply failed', action.result.errormsg);
} }
}); });
} }