From: Mark Clarkstone Date: Sat, 9 Apr 2016 23:09:33 +0000 (+0100) Subject: webui: fix apply confirmation messagebox X-Git-Tag: v4.2.1~686 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9a1e0bc585ac3a0c5d47d749fbbe9623afac3d2;p=thirdparty%2Ftvheadend.git webui: fix apply confirmation messagebox --- diff --git a/src/webui/static/app/idnode.js b/src/webui/static/app/idnode.js index 1f22fdd34..79fbe784d 100644 --- a/src/webui/static/app/idnode.js +++ b/src/webui/static/app/idnode.js @@ -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); }, @@ -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); },