From 0cdc2b448d54493e1f9c9435e31d72353665282e Mon Sep 17 00:00:00 2001 From: Andrew Bauer Date: Mon, 4 Jan 2021 13:18:05 -0600 Subject: [PATCH] remove obsolete controlpreset js files --- web/skins/classic/views/js/controlpreset.js | 13 ------------- web/skins/classic/views/js/controlpreset.js.php | 11 ----------- 2 files changed, 24 deletions(-) delete mode 100644 web/skins/classic/views/js/controlpreset.js delete mode 100644 web/skins/classic/views/js/controlpreset.js.php diff --git a/web/skins/classic/views/js/controlpreset.js b/web/skins/classic/views/js/controlpreset.js deleted file mode 100644 index 4586d38b8..000000000 --- a/web/skins/classic/views/js/controlpreset.js +++ /dev/null @@ -1,13 +0,0 @@ -function initPage() { - var form = document.getElementById('contentForm'); - var preset_ddm = form.elements['preset']; - - var presetIndex = preset_ddm[preset_ddm.selectedIndex].value; - if ( labels[presetIndex] ) { - form.newLabel.value = labels[presetIndex]; - } else { - form.newLabel.value = ''; - } -} - -$j(document).ready(initPage ); diff --git a/web/skins/classic/views/js/controlpreset.js.php b/web/skins/classic/views/js/controlpreset.js.php deleted file mode 100644 index 9bd8155f1..000000000 --- a/web/skins/classic/views/js/controlpreset.js.php +++ /dev/null @@ -1,11 +0,0 @@ - -var labels = new Array(); -$label ) { -?> -labels[] = ''; -