Differential D9911 Diff 23791 webroot/rsrc/js/application/dashboard/behavior-dashboard-query-panel-select.js
Changeset View
Changeset View
Standalone View
Standalone View
webroot/rsrc/js/application/dashboard/behavior-dashboard-query-panel-select.js
| Show All 29 Lines | if (config.value.key !== null) { | ||||
| } | } | ||||
| if (!found) { | if (!found) { | ||||
| config.options[app] = [config.value].concat(config.options[app]); | config.options[app] = [config.value].concat(config.options[app]); | ||||
| } | } | ||||
| } | } | ||||
| // When the user changes the selected search engine, update the query | // When the user changes the selected search engine, update the query | ||||
| // control to show avialable queries for that engine. | // control to show available queries for that engine. | ||||
| function update() { | function update() { | ||||
| var app = app_control.value; | var app = app_control.value; | ||||
| var old_value = query_control.value; | var old_value = query_control.value; | ||||
| var new_value = null; | var new_value = null; | ||||
| var options = config.options[app] || []; | var options = config.options[app] || []; | ||||
| var nodes = []; | var nodes = []; | ||||
| Show All 18 Lines | |||||