mirror of
https://github.com/getgrav/grav-plugin-admin.git
synced 2025-11-16 18:26:06 +01:00
Enabling / Disabling a Plugin doesn't trigger the expand / collapse details anymore (fixes #614)
This commit is contained in:
@@ -8,6 +8,7 @@
|
|||||||
* Disable double clicking on Save/Delete/Copy page actions [#611](https://github.com/getgrav/grav-plugin-admin/issues/611)
|
* Disable double clicking on Save/Delete/Copy page actions [#611](https://github.com/getgrav/grav-plugin-admin/issues/611)
|
||||||
* Tweaked the avatar alignment in sidebar [#592](https://github.com/getgrav/grav-plugin-admin/issues/592)
|
* Tweaked the avatar alignment in sidebar [#592](https://github.com/getgrav/grav-plugin-admin/issues/592)
|
||||||
* Added page name to delete dialog [#511](https://github.com/getgrav/grav-plugin-admin/issues/511)
|
* Added page name to delete dialog [#511](https://github.com/getgrav/grav-plugin-admin/issues/511)
|
||||||
|
* Enabling / Disabling a Plugin doesn't trigger the expand / collapse details anymore [#614](https://github.com/getgrav/grav-plugin-admin/issues/614)
|
||||||
1. [](#bugfix)
|
1. [](#bugfix)
|
||||||
* Fix double "Removed successfully" appearing when removing a package [#609](https://github.com/getgrav/grav-plugin-admin/issues/609)
|
* Fix double "Removed successfully" appearing when removing a package [#609](https://github.com/getgrav/grav-plugin-admin/issues/609)
|
||||||
* Prevent removing required plugins dependencies when removing a package [#613](https://github.com/getgrav/grav-plugin-admin/issues/613)
|
* Prevent removing required plugins dependencies when removing a package [#613](https://github.com/getgrav/grav-plugin-admin/issues/613)
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ $('.gpm-name, .gpm-actions').on('click', function(e) {
|
|||||||
let target = $(e.target);
|
let target = $(e.target);
|
||||||
let tag = target.prop('tagName').toLowerCase();
|
let tag = target.prop('tagName').toLowerCase();
|
||||||
|
|
||||||
if (tag === 'a' || element.parent('a').length) { return true; }
|
if (tag === 'a' || element.parent('a').length || target.parent('a').length) { return true; }
|
||||||
|
|
||||||
let wrapper = element.siblings('.gpm-details').find('.table-wrapper');
|
let wrapper = element.siblings('.gpm-details').find('.table-wrapper');
|
||||||
|
|
||||||
|
|||||||
4
themes/grav/js/admin.min.js
vendored
4
themes/grav/js/admin.min.js
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user