From: Jaroslav Kysela Date: Sat, 5 Dec 2015 19:00:41 +0000 (+0100) Subject: WEBUI: add alert that the selected entry is the original for clone, fixes #3385 X-Git-Tag: v4.2.1~1360 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=aa13922f10faaecf2674d56a18d4f6f933bc78df;p=thirdparty%2Ftvheadend.git WEBUI: add alert that the selected entry is the original for clone, fixes #3385 --- diff --git a/src/webui/static/app/idnode.js b/src/webui/static/app/idnode.js index 224a5baeb..de2fa4b1e 100644 --- a/src/webui/static/app/idnode.js +++ b/src/webui/static/app/idnode.js @@ -1373,6 +1373,8 @@ tvheadend.idnode_create = function(conf, onlyDefault, cloneValues) saveBtn.handler(); delete conf.forceSave; panel.destroy(); + if (cloneValues) + Ext.MessageBox.alert(_('Clone'), _('The selected entry is the original!')); } else { saveBtn.setVisible(true); applyBtn.setVisible(true);