diff options
author | Claudio Guglielmo | 2021-05-11 16:29:55 +0000 |
---|---|---|
committer | Claudio Guglielmo | 2021-05-11 16:29:55 +0000 |
commit | f2ecfe7d48aa249ba3662b49e4fdc62764815726 (patch) | |
tree | bd3ac3a4804971380e53fbda8603d0a6ace2d6ec /eclipse-scout-core/src/form/fields/FormField.js | |
parent | d97a2414ff32ca7b84111176a8918747e1c2d7ef (diff) | |
download | org.eclipse.scout.rt-f2ecfe7d48aa249ba3662b49e4fdc62764815726.tar.gz org.eclipse.scout.rt-f2ecfe7d48aa249ba3662b49e4fdc62764815726.tar.xz org.eclipse.scout.rt-f2ecfe7d48aa249ba3662b49e4fdc62764815726.zip |
FieldStatus: fix context menufeatures/cgu/brushup
Diffstat (limited to 'eclipse-scout-core/src/form/fields/FormField.js')
-rw-r--r-- | eclipse-scout-core/src/form/fields/FormField.js | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/eclipse-scout-core/src/form/fields/FormField.js b/eclipse-scout-core/src/form/fields/FormField.js index e346af6960..36f2c00103 100644 --- a/eclipse-scout-core/src/form/fields/FormField.js +++ b/eclipse-scout-core/src/form/fields/FormField.js @@ -937,33 +937,6 @@ export default class FormField extends Widget { } } - _showContextMenu() { - let menus = this.getContextMenuItems(); - if (menus.length === 0) { - // at least one menu item must be visible - return; - } - - // Make sure tooltip is closed first - this._hideStatusMessage(); - - this.contextPopup = scout.create('ContextMenuPopup', { - parent: this, - $anchor: this.$status, - menuItems: menus, - cloneMenuItems: false, - closeOnAnchorMouseDown: false - }); - this.contextPopup.open(); - } - - _hideContextMenu() { - if (this.contextPopup) { - this.contextPopup.close(); - this.contextPopup = null; - } - } - _renderPreventInitialFocus() { this.$container.toggleClass('prevent-initial-focus', !!this.preventInitialFocus); } |