From 5d5c0a4d2254c1962836f5284ae6a131091df48a Mon Sep 17 00:00:00 2001 From: Dominik Shaim Ulrich Date: Wed, 15 May 2024 21:26:49 +0200 Subject: [PATCH 1/3] Update form.tpl --- .../default/template/controllers/statuses/helpers/form/form.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin-dev/themes/default/template/controllers/statuses/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/statuses/helpers/form/form.tpl index 847afe74821c0..157cd127bbb0e 100644 --- a/admin-dev/themes/default/template/controllers/statuses/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/statuses/helpers/form/form.tpl @@ -72,7 +72,7 @@ {/foreach} - From cfc9fb72a05b2eef06d1461d4475b9b1d34f0996 Mon Sep 17 00:00:00 2001 From: Dominik Shaim Ulrich Date: Wed, 15 May 2024 21:29:40 +0200 Subject: [PATCH 2/3] Update form.tpl --- .../template/controllers/statuses/helpers/form/form.tpl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/admin-dev/themes/default/template/controllers/statuses/helpers/form/form.tpl b/admin-dev/themes/default/template/controllers/statuses/helpers/form/form.tpl index 157cd127bbb0e..2f72043826975 100644 --- a/admin-dev/themes/default/template/controllers/statuses/helpers/form/form.tpl +++ b/admin-dev/themes/default/template/controllers/statuses/helpers/form/form.tpl @@ -72,10 +72,6 @@ {/foreach} - {/foreach} From 4f40494920fd13a90cdcb53a4e8359f5289779b9 Mon Sep 17 00:00:00 2001 From: Dominik Shaim Ulrich Date: Wed, 15 May 2024 21:30:10 +0200 Subject: [PATCH 3/3] Update admin.js --- js/admin.js | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/js/admin.js b/js/admin.js index ba788a72631e8..05b52cd70c9a4 100644 --- a/js/admin.js +++ b/js/admin.js @@ -368,20 +368,6 @@ function gencode(size) } } -var tpl_viewing_window = null; -function viewTemplates(id_select, lang, ext) -{ - var loc = $(id_select).val(); - if (loc != 0) - { - if (tpl_viewing_window != null && !tpl_viewing_window.closed) - tpl_viewing_window.close(); - var url_preview = $("option[value="+loc+"]", id_select).data('preview'); - tpl_viewing_window = window.open(url_preview + lang + loc + ext, 'tpl_viewing', 'toolbar=0,location=0,directories=0,statfr=no,menubar=0,scrollbars=yes,resizable=yes,width=520,height=400,top=50,left=300'); - tpl_viewing_window.focus(); - } -} - function orderDeleteProduct(txtConfirm, txtExplain) { ret = true;