Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
WEBUI JS: Debugging tab - change save to apply
  • Loading branch information
perexg committed Oct 22, 2014
1 parent c2661b0 commit f0d25a5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions src/webui/static/app/ext.css
Expand Up @@ -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;
}
Expand Down
10 changes: 5 additions & 5 deletions src/webui/static/app/tvhlog.js
Expand Up @@ -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<br/>They will be lost on restart.',
iconCls: 'apply',
handler: saveChanges
});

Expand Down Expand Up @@ -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);
}
});
}
Expand Down

0 comments on commit f0d25a5

Please sign in to comment.