diff --git a/README.md b/README.md index 9408082..8f336ff 100755 --- a/README.md +++ b/README.md @@ -8,6 +8,8 @@ developers. Custom Mask Splitter to hide fields in Editor, depending on another fields value. Right now, the triggerfield must be a custom-data-type-dante or a boolean-field This is a plugin for [fylr](https://documentation.fylr.cloud/docs) with MaskSplitter `EditorVisibilityController`. +For easydb5-instances use [easydb-editor-field-visibility](https://github.com/programmfabrik/easydb-editor-field-visibility-plugin). + diff --git a/src/webfrontend/EditorFieldVisibility.coffee b/src/webfrontend/EditorFieldVisibility.coffee index 5716c9a..934c252 100755 --- a/src/webfrontend/EditorFieldVisibility.coffee +++ b/src/webfrontend/EditorFieldVisibility.coffee @@ -332,16 +332,16 @@ class EditorFieldVisibility extends CustomMaskSplitter # if dante-dropdown-mode if node.length == 0 node = CUI.dom.matchSelector(actionField.element, ".dante_InlineSelect") - CUI.Events.trigger - type: 'data-changed' - node: node[0] - bubble: true + #CUI.Events.trigger + # type: 'data-changed' + # node: node[0] + # bubble: true # call plugins, which use syntax from commons.coffee (customPluginEditorLayout) if node - CUI.Events.registerEvent - type: "custom-deleteDataFromPlugin" - bubble: false + #CUI.Events.registerEvent + # type: "custom-deleteDataFromPlugin" + # bubble: false CUI.Events.trigger type: 'custom-deleteDataFromPlugin' node: node[0]