Filter: gravityview-inline-edit/js-settings
Modify the settings passed to the x-editable script
Parameters
| Name | Type | Description |
|---|---|---|
| $js_settings | array | |
| ↳ $mode | string | Editing mode. Options: "popup" or "inline" [Default: "popup"] |
| ↳ $buttons | string | HTML of the Update/Cancel buttons { |
| ↳ $container | string | When using popup $mode, jQuery selector used to attach the popup container [Default: "body"] |
| ↳ $showbuttons | string|bool | Where to show buttons. Form without buttons is auto-submitted. Options are "top", "bottom", "left", "right", or false. [Default: "bottom"] |
| ↳ $onblur | string | Action when user clicks outside the inline edit form container. Options are "cancel", "submit", "ignore". Setting ignore allows to have several containers open. [Default: "cancel"] |
| ↳ $showinputs | bool|string | jQuery selectors for which inputs to show without clicking. NOTE: onblur must be set to "ignore" { |
| $item_id | array | Array with [form_id] key set for Form ID, or [view_id] key set for View ID currently being displayed |
Since
Source
Defined in includes/class-gravityview-inline-edit-scripts.php at line 182