From 79de6eae0919d224ff1d82d3f712bc4067835f01 Mon Sep 17 00:00:00 2001 From: AlekVolsk Date: Sat, 8 Jan 2022 02:23:39 +0400 Subject: [PATCH] v1.3.4 --- README.md | 4 ++-- README.ru.md | 4 ++-- com_attrs/attrs.xml | 4 ++-- com_attrs/models/forms/item.xml | 2 +- com_attrs/views/item/tmpl/edit.php | 8 ++++---- pkg_attrs.xml | 4 ++-- 6 files changed, 13 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index d90bd40..3dcbaef 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Attributes -![Last Update](https://img.shields.io/badge/last_update-2021.07.22-28A5F5.svg?style=for-the-badge) -![Version](https://img.shields.io/badge/VERSION-1.3.3-0366d6.svg?style=for-the-badge) +![Last Update](https://img.shields.io/badge/last_update-2022.01.08-28A5F5.svg?style=for-the-badge) +![Version](https://img.shields.io/badge/VERSION-1.3.4-0366d6.svg?style=for-the-badge) ![Joomla](https://img.shields.io/badge/joomla-3.7+-1A3867.svg?style=for-the-badge) ![Php](https://img.shields.io/badge/php-5.6+-8892BF.svg?style=for-the-badge) diff --git a/README.ru.md b/README.ru.md index 3611c25..2b1b8d5 100644 --- a/README.ru.md +++ b/README.ru.md @@ -1,7 +1,7 @@ # Атрибуты -![Last Update](https://img.shields.io/badge/last_update-2021.07.22-28A5F5.svg?style=for-the-badge) -![Version](https://img.shields.io/badge/VERSION-1.3.3-0366d6.svg?style=for-the-badge) +![Last Update](https://img.shields.io/badge/last_update-2022.01.08-28A5F5.svg?style=for-the-badge) +![Version](https://img.shields.io/badge/VERSION-1.3.4-0366d6.svg?style=for-the-badge) ![Joomla](https://img.shields.io/badge/joomla-3.7+-1A3867.svg?style=for-the-badge) ![Php](https://img.shields.io/badge/php-5.6+-8892BF.svg?style=for-the-badge) diff --git a/com_attrs/attrs.xml b/com_attrs/attrs.xml index 1d5bbc2..8e8dc75 100644 --- a/com_attrs/attrs.xml +++ b/com_attrs/attrs.xml @@ -1,8 +1,8 @@ COM_ATTRS - 1.3.3 - July 2021 + 1.3.4 + January 2022 Aleksey A. Morozov alekvolsk@yandex.ru https://alekvolsk.pw diff --git a/com_attrs/models/forms/item.xml b/com_attrs/models/forms/item.xml index 81b7188..51225ef 100644 --- a/com_attrs/models/forms/item.xml +++ b/com_attrs/models/forms/item.xml @@ -22,7 +22,7 @@ - + diff --git a/com_attrs/views/item/tmpl/edit.php b/com_attrs/views/item/tmpl/edit.php index e51b447..b1c37e6 100644 --- a/com_attrs/views/item/tmpl/edit.php +++ b/com_attrs/views/item/tmpl/edit.php @@ -20,7 +20,7 @@ var ds = document.getElementById('jform_destsystem0').checked; var dn = document.getElementById('jform_destmenu0').checked; var du = document.getElementById('jform_destusers0').checked; - var dn = document.getElementById('jform_destcontacts0').checked; + var db = document.getElementById('jform_destcontacts0').checked; var da = document.getElementById('jform_destarticles0').checked; var dc = document.getElementById('jform_destcategories0').checked; var dm = document.getElementById('jform_destmodules0').checked; @@ -28,7 +28,7 @@ var df = document.getElementById('jform_destfields0').checked; var dt = document.getElementById('jform_desttags0').checked; - var dest = ds || dn || du || dn || da || dc || dm || dp || df || dt; + var dest = ds || dn || du || db || da || dc || dm || dp || df || dt; var valid = document.formvalidator.isValid(document.id('item-form')); @@ -56,7 +56,7 @@ var ds = document.getElementById('jform_destsystem0').checked; var dn = document.getElementById('jform_destmenu0').checked; var du = document.getElementById('jform_destusers0').checked; - var dn = document.getElementById('jform_destcontacts0').checked; + var db = document.getElementById('jform_destcontacts0').checked; var da = document.getElementById('jform_destarticles0').checked; var dc = document.getElementById('jform_destcategories0').checked; var dm = document.getElementById('jform_destmodules0').checked; @@ -64,7 +64,7 @@ var df = document.getElementById('jform_destfields0').checked; var dt = document.getElementById('jform_desttags0').checked; - var dest = ds || dn || du || dn || da || dc || dm || dp || df || dt; + var dest = ds || dn || du || db || da || dc || dm || dp || df || dt; if (task == 'item.cancel' || dest) { Joomla.submitform(task, document.getElementById('item-form')); diff --git a/pkg_attrs.xml b/pkg_attrs.xml index 53151ee..4e8b478 100644 --- a/pkg_attrs.xml +++ b/pkg_attrs.xml @@ -2,8 +2,8 @@ PKG_ATTRS attrs - 1.3.3 - July 2021 + 1.3.2 + January 2022 Aleksey A. Morozov alekvolsk@yandex.ru https://alekvolsk.pw