Reworked tabs to be more generic. Added support for memorizing the active tab

This commit is contained in:
Djamil Legato
2016-03-09 20:21:34 -08:00
parent 5260fa71ad
commit 28576c38e6
11 changed files with 50 additions and 31 deletions

View File

@@ -81,6 +81,7 @@ export default class ArrayField {
}
actionEvent(event) {
event && event.preventDefault();
let element = $(event.target);
let action = element.data('grav-array-action');