Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
webui: fix apply confirmation messagebox
  • Loading branch information
Mark Clarkstone authored and perexg committed Apr 10, 2016
1 parent 17a5b4c commit c9a1e0b
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions src/webui/static/app/idnode.js
Expand Up @@ -1162,7 +1162,12 @@ tvheadend.idnode_editor = function(_uilevel, item, conf)
node: Ext.encode(node)
},
success: function(d) {
Ext.MessageBox.alert(_('Apply'), _('Changes were applied!'));
Ext.MessageBox.show({
title: _('Apply'),
msg: _('Changes were applied!'),
buttons: Ext.MessageBox.OK,
icon: Ext.MessageBox.INFO,
});
form.trackResetOnLoad = true;
form.setValues(node);
},
Expand Down Expand Up @@ -1488,7 +1493,13 @@ tvheadend.idnode_create = function(conf, onlyDefault, cloneValues)
url: conf.create.url || conf.url + '/create',
params: params,
success: function(d) {
Ext.MessageBox.confirm(_('Apply'), _('Changes were applied!'));
Ext.MessageBox.show({
title: _('Apply'),
msg: _('Changes were applied!'),
buttons: Ext.MessageBox.OK,
icon: Ext.MessageBox.INFO,
});
//Ext.MessageBox.confirm(_('Apply'), _('Changes were applied!'));
form.trackResetOnLoad = true;
form.setValues(node);
},
Expand Down

0 comments on commit c9a1e0b

Please sign in to comment.