Fixed Safari issue with new ACL picker field (fixes #1955)

This commit is contained in:
Djamil Legato
2020-10-08 12:20:30 -07:00
parent be69d0bce8
commit 69610907bf
3 changed files with 9 additions and 3 deletions

View File

@@ -1,5 +1,11 @@
# v1.10.0-rc.18
## mm/dd/2020
1. [](#bugfix)
* Fixed Safari issue with new ACL picker field [#1955](https://github.com/getgrav/grav-plugin-admin/issues/1955)
# v1.10.0-rc.17
## 10/02/2020
## 10/07/2020
1. [](#new)
* Support premium themes

View File

@@ -65,7 +65,7 @@ body.on('click', '[data-acl_picker] .add-item', (event) => {
const ID = wrapper.data('acl_picker_id');
const template = document.querySelector(`template[data-id="acl_picker-${ID}"]`);
const clone = $(template.content.querySelector(':first-child')).clone();
const clone = $(template.content.firstElementChild).clone();
clone.insertAfter(item);
// randomize ids

File diff suppressed because one or more lines are too long