Class: H_ui_quick_edit

H_ui_quick_edit

Utility class for quick edit UI functionality.
Handles inline editing, keyboard shortcuts, and AJAX save/cancel.
Used as h.libs.quick_edit.

new H_ui_quick_edit()

ui.js, line 1368

Methods

staticH_ui_quick_edit.check(event)

ui.js, line 1380
Handles quick edit keyboard events (Enter to save, Esc to cancel).
Name Type Description
event KeyboardEvent The keyboard event.

staticH_ui_quick_edit.qedit(targetTag){boolean}

ui.js, line 1494
Initializes quick edit mode for a target element.
Name Type Description
targetTag HTMLElement The target element.
Returns:
Type Description
boolean False if already in quick edit mode.

staticH_ui_quick_edit.send(event)

ui.js, line 1398
Sends a quick edit action (save or cancel).
Name Type Description
event Event | Object The event or settings object.