From 95ede626ce9d03d45358a66ae730b84e3d8b3ae5 Mon Sep 17 00:00:00 2001 From: tsymb Date: Sat, 29 Jun 2019 05:55:46 +0300 Subject: [PATCH] =?UTF-8?q?=D0=92=D0=B5=D1=80=D1=81=D0=B8=D1=8F=201.1.2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fields/quantumviewfiles.php | 1 + .../layouts/fields/quantumviewfiles.php | 2 +- changelog.md | 5 ++ .../css/quantumviewfiles.css | 22 ++++-- .../com_quantummanager/js/quantumviewfiles.js | 71 +++++++++++++------ quantummanager.xml | 2 +- 6 files changed, 74 insertions(+), 29 deletions(-) diff --git a/administrator/components/com_quantummanager/fields/quantumviewfiles.php b/administrator/components/com_quantummanager/fields/quantumviewfiles.php index 7ca1d49..2fd043d 100644 --- a/administrator/components/com_quantummanager/fields/quantumviewfiles.php +++ b/administrator/components/com_quantummanager/fields/quantumviewfiles.php @@ -57,6 +57,7 @@ protected function getLayoutData() 'directory' => $this->directory, 'onlyfiles' => $this->onlyfiles, 'metafile' => $this->metafile, + 'hash' => md5(QuantummanagerHelper::preparePath($this->directory)), 'cssClass' => $this->cssClass, ] ); diff --git a/administrator/components/com_quantummanager/layouts/fields/quantumviewfiles.php b/administrator/components/com_quantummanager/layouts/fields/quantumviewfiles.php index fef51a9..4392c22 100644 --- a/administrator/components/com_quantummanager/layouts/fields/quantumviewfiles.php +++ b/administrator/components/com_quantummanager/layouts/fields/quantumviewfiles.php @@ -14,7 +14,7 @@ $id = rand(111111, 999999); ?> -
+