Lines 642-647
$(document).ready(function() {
Link Here
|
642 |
// We use delegated event handlers here so that dynamically added elements |
642 |
// We use delegated event handlers here so that dynamically added elements |
643 |
// (like when cloning a field or a subfield) respond to these events |
643 |
// (like when cloning a field or a subfield) respond to these events |
644 |
// without having to re-attach events manually |
644 |
// without having to re-attach events manually |
645 |
$('.marc_editor').on('click', '.buttonDot', callClickPluginEventHandler); |
645 |
$('.marc_editor').on('click', '.tag_editor.framework_plugin', callClickPluginEventHandler); |
646 |
$('.marc_editor').on('focusin focusout change mousedown mouseup keydown keyup', 'input.input_marceditor.framework_plugin', callPluginEventHandler); |
646 |
$('.marc_editor').on('focusin focusout change mousedown mouseup keydown keyup', 'input.input_marceditor.framework_plugin', callPluginEventHandler); |
647 |
}); |
647 |
}); |
648 |
- |
|
|