aboutsummaryrefslogtreecommitdiff
path: root/ext/fg/js/api.js
diff options
context:
space:
mode:
authorsiikamiika <siikamiika@users.noreply.github.com>2019-10-27 20:11:23 +0200
committersiikamiika <siikamiika@users.noreply.github.com>2019-10-27 20:11:23 +0200
commit70418202cf2739258a4e95fdc7f0fbe4c7c46821 (patch)
tree0e40711ded4536e5756f1bc8a85fdaa3af616d57 /ext/fg/js/api.js
parent48776145d6bdb8aff82e82546583c790353e75b6 (diff)
make search page checkbox options persist
Diffstat (limited to 'ext/fg/js/api.js')
-rw-r--r--ext/fg/js/api.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/fg/js/api.js b/ext/fg/js/api.js
index bbc9b5fc..54818702 100644
--- a/ext/fg/js/api.js
+++ b/ext/fg/js/api.js
@@ -21,6 +21,10 @@ function apiOptionsGet(optionsContext) {
return utilInvoke('optionsGet', {optionsContext});
}
+function apiOptionsSet(changedOptions, optionsContext, source) {
+ return utilInvoke('optionsSet', {changedOptions, optionsContext, source});
+}
+
function apiTermsFind(text, optionsContext) {
return utilInvoke('termsFind', {text, optionsContext});
}