]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
WEBUI: add alert that the selected entry is the original for clone, fixes #3385
authorJaroslav Kysela <perex@perex.cz>
Sat, 5 Dec 2015 19:00:41 +0000 (20:00 +0100)
committerJaroslav Kysela <perex@perex.cz>
Sat, 5 Dec 2015 19:00:41 +0000 (20:00 +0100)
src/webui/static/app/idnode.js

index 224a5baeb8854179e241a2802b68d8106b0fe29d..de2fa4b1e0f2536b1aabae31272c4361385a8bd9 100644 (file)
@@ -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);