mirror of
https://github.com/processwire/processwire.git
synced 2025-08-08 15:57:01 +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) {
|
||||
$header.trigger('click');
|
||||
}
|
||||
var $inputfield = $header.closest('.Inputfield');
|
||||
$inputfield.trigger('opened', $inputfield);
|
||||
}, 500);
|
||||
}, 'html');
|
||||
|
||||
|
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user