diff --git a/files/client/modules/dynamic-checklist/src/views/fields/dynamic-checklist.js b/files/client/modules/dynamic-checklist/src/views/fields/dynamic-checklist.js index ef62a74..316efaa 100644 --- a/files/client/modules/dynamic-checklist/src/views/fields/dynamic-checklist.js +++ b/files/client/modules/dynamic-checklist/src/views/fields/dynamic-checklist.js @@ -2,7 +2,7 @@ * This file is part of EspoCRM. * * EspoCRM - Open Source CRM application. - * Copyright (C) 2014-2019 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko + * Copyright (C) 2014-2023 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko * Website: https://www.espocrm.com * * EspoCRM is free software: you can redistribute it and/or modify @@ -102,13 +102,13 @@ define('dynamic-checklist:views/fields/dynamic-checklist', ['views/fields/array' } var dataValue = this.escapeValue(JSON.stringify(jsonItem)); var itemHtml = '
'; - itemHtml += '
'; - itemHtml += '
'; + itemHtml += '
'; itemHtml += '
'; itemHtml += ''; itemHtml += '
'; @@ -219,7 +219,7 @@ define('dynamic-checklist:views/fields/dynamic-checklist', ['views/fields/array' } displayHtml += '
'; displayHtml += '
'; - displayHtml += '=6.0.6" + ">=7.3.0" ], "releaseDate": "2020-12-01", "author": "Omar A Gonsenheim", diff --git a/scripts/AfterInstall.php b/scripts/AfterInstall.php new file mode 100644 index 0000000..0b59dfc --- /dev/null +++ b/scripts/AfterInstall.php @@ -0,0 +1,21 @@ +container = $container; + + $this->clearCache(); + } + + protected function clearCache() + { + try { + $this->container->get('dataManager')->clearCache(); + } catch (\Exception $e) { + } + } +} diff --git a/scripts/AfterUninstall.php b/scripts/AfterUninstall.php new file mode 100644 index 0000000..94a649b --- /dev/null +++ b/scripts/AfterUninstall.php @@ -0,0 +1,21 @@ +container = $container; + + $this->clearCache(); + } + + protected function clearCache() + { + try { + $this->container->get('dataManager')->clearCache(); + } catch (\Exception $e) { + } + } +}