Added Front-office worker

This commit is contained in:
max-baranikov 2022-06-28 14:45:55 +03:00 committed by GitHub
parent 68e1e50797
commit f383ca4f30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 44 additions and 6 deletions

View File

@ -1,3 +1,6 @@
## v3.4.5
* Исправлена работа воркеров публичной части сайта
## v3.4.4
* Улучшена горячая подгрузка данных на странице настроек модуля
* Исправлены ошибки при отсутствующем или невалидном api-ключе

View File

@ -1 +1 @@
3.4.4
3.4.5

View File

@ -150,7 +150,7 @@ class RetailCRM extends Module
{
$this->name = 'retailcrm';
$this->tab = 'export';
$this->version = '3.4.4';
$this->version = '3.4.5';
$this->author = 'DIGITAL RETAIL TECHNOLOGIES SL';
$this->displayName = $this->l('Simla.com');
$this->description = $this->l('Integration module for Simla.com');
@ -290,10 +290,7 @@ class RetailCRM extends Module
public function hookHeader()
{
if (!empty($this->context) && !empty($this->context->controller)) {
$this->context->controller->addJS($this->assetsBase . '/js/retailcrm-compat.min.js');
$this->context->controller->addJS($this->assetsBase . '/js/retailcrm-jobs.min.js');
$this->context->controller->addJS($this->assetsBase . '/js/retailcrm-collector.min.js');
$this->context->controller->addJS($this->assetsBase . '/js/retailcrm-consultant.min.js');
$this->context->controller->addJS($this->assetsBase . '/js/worker.umd.min.js');
}
}

38
retailcrm/views/js/worker.umd.min.js vendored Normal file

File diff suppressed because one or more lines are too long