mirror of
https://github.com/processwire/processwire.git
synced 2025-08-09 16:26:59 +02:00
Minor fix in inputfields.js where it wasn't always triggering the 'opened' event when it should
This commit is contained in:
@@ -2089,6 +2089,8 @@ function InputfieldStates($target) {
|
|||||||
} else if(Inputfields.toggleBehavior < 1) {
|
} else if(Inputfields.toggleBehavior < 1) {
|
||||||
$header.trigger('click');
|
$header.trigger('click');
|
||||||
}
|
}
|
||||||
|
var $inputfield = $header.closest('.Inputfield');
|
||||||
|
$inputfield.trigger('opened', $inputfield);
|
||||||
}, 500);
|
}, 500);
|
||||||
}, 'html');
|
}, 'html');
|
||||||
|
|
||||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user