new H_search()
ui.js, line 2217
Methods
-
staticH_search.change_filter(evt, module_name, dom_id)
ui.js, line 2321 -
Adds change event to filter inputs.
Name Type Description evtEvent The event. module_namestring optional Module name. dom_idstring optional DOM id. -
staticH_search.del(evt, module_name, id, dom_id)
ui.js, line 2354 -
Deletes an item, then refreshes the search.
The `data-confirm` question is asked by H_event before this handler runs: the button carries the attribute, this function only does the deletion and the refresh.Name Type Default Description evtEvent The event. module_namestring optional Module name. idnumber 0 optional Item id. dom_idstring optional DOM id. -
staticH_search.filter(val, module_name, dom_id)
ui.js, line 2247 -
Sets filter value and triggers search.
Name Type Description valstring Filter value. module_namestring optional Module name. dom_idstring optional DOM id. -
staticH_search.jump_to(e, module_name, dom_id)
ui.js, line 2304 -
Jumps to a specific page in search results.
Name Type Description eEvent The event. module_namestring optional Module name. dom_idstring optional DOM id. -
staticH_search.modal_edit(id, module_name, tableName, action, dom_id)
ui.js, line 2378 -
Opens a modal for editing a search result item.
One window per module instance (dom_id), living in that instance's container: two lists opened in two tabs can each have their own editing form at the same time.Name Type Default Description idnumber 0 optional Item id. module_namestring optional Module name. tableNamestring optional Table name. actionstring optional Action name. dom_idstring optional DOM id. -
staticH_search.move_page(direction, module_name, dom_id)
ui.js, line 2264 -
Moves the search results by one page.
The previous page stops at the first one, the next page has no upper bound (the search answers an empty page past the end).Name Type Description directionnumber -1 for the previous page, 1 for the next one. module_namestring optional Module name. dom_idstring optional DOM id. -
staticH_search.next(module_name, dom_id)
ui.js, line 2294 -
Goes to next page in search results.
Name Type Description module_namestring optional Module name. dom_idstring optional DOM id. -
staticH_search.previous(module_name, dom_id)
ui.js, line 2285 -
Goes to previous page in search results.
Name Type Description module_namestring optional Module name. dom_idstring optional DOM id. -
staticH_search.save(module_name, dom_id)
ui.js, line 2339 -
trig the save action then refresh the search
Name Type Description module_namestring optional Module name. dom_idstring optional DOM id. -
staticH_search.should_search(event, module_name, dom_id)
ui.js, line 2234 -
Triggers a search on Enter key.
Name Type Description eventEvent The keyboard event. module_namestring optional Module name. dom_idstring optional DOM id.