Bug 30975: Fix upload plugin
The upload plugin button has no 'buttonDot' class (unlike other plugins buttons) so its click event were not listened to. This patch fix the CSS selector in order to listen on click events for all plugins buttons Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: David Cook <dcook@prosentient.com.au> Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
1a91b01977
commit
05946c473b
1 changed files with 1 additions and 1 deletions
|
@ -834,6 +834,6 @@ $(document).ready(function() {
|
|||
// We use delegated event handlers here so that dynamically added elements
|
||||
// (like when cloning a field or a subfield) respond to these events
|
||||
// without having to re-attach events manually
|
||||
$('.marc_editor').on('click', '.buttonDot', callClickPluginEventHandler);
|
||||
$('.marc_editor').on('click', '.tag_editor.framework_plugin', callClickPluginEventHandler);
|
||||
$('.marc_editor').on('focusin focusout change mousedown mouseup keydown keyup', 'input.input_marceditor.framework_plugin', callPluginEventHandler);
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue