From f1e662443d8ac8d10f91ff76f7d2c4f9b3207896 Mon Sep 17 00:00:00 2001 From: Repellent Date: Mon, 9 Feb 2026 11:33:49 +0500 Subject: [PATCH] =?UTF-8?q?=D0=98=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=BB?= =?UTF-8?q?=D0=B5=D0=BD=D0=B0=20=D0=BE=D1=88=D0=B8=D0=B1=D0=BA=D0=B0=20?= =?UTF-8?q?=D0=BF=D1=80=D0=B8=20=D0=B2=D1=8B=D0=B1=D0=BE=D1=80=D0=B5=20?= =?UTF-8?q?=D0=B8=D0=B7=D0=BE=D0=B1=D1=80=D0=B0=D0=B6=D0=B5=D0=BD=D0=B8?= =?UTF-8?q?=D1=8F=20=D0=B4=D0=BB=D1=8F=20=D0=BF=D1=83=D0=BD=D0=BA=D1=82?= =?UTF-8?q?=D0=B0=20=D0=BC=D0=B5=D0=BD=D1=8E=20=D0=BD=D0=B0=D0=B2=D0=B8?= =?UTF-8?q?=D0=B3=D0=B0=D1=86=D0=B8=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- admin/templates/js/main.js | 1 + 1 file changed, 1 insertion(+) diff --git a/admin/templates/js/main.js b/admin/templates/js/main.js index 340a105..8f72032 100644 --- a/admin/templates/js/main.js +++ b/admin/templates/js/main.js @@ -89,6 +89,7 @@ function openLinkWindow(target, doc, document_alias) { } function openFileWindow(id, type, target) { + if (typeof target === 'undefined' || target === null || target === '') {target = id;} if (typeof width == 'undefined' || width == '') var width = screen.width * 0.6; if (typeof height == 'undefined' || height == '') var height = screen.height * 0.6; if (typeof doc == 'undefined') var doc = 'Title';