diff options
| author | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-12-09 21:00:49 -0500 | 
|---|---|---|
| committer | toasted-nutbread <toasted-nutbread@users.noreply.github.com> | 2019-12-13 23:11:56 -0500 | 
| commit | 7addf5a2ddd345bceb7aa0ee492ad51c25019e1a (patch) | |
| tree | 9a475fd77f03185089b21e8889e7711b1575d3ce /ext/fg/js | |
| parent | 4177b6372696d9b424857fedd1be988cc7eb0095 (diff) | |
Add API calls for optionsGetFull and optionsSave
Diffstat (limited to 'ext/fg/js')
| -rw-r--r-- | ext/fg/js/api.js | 8 | 
1 files changed, 8 insertions, 0 deletions
| diff --git a/ext/fg/js/api.js b/ext/fg/js/api.js index 0e100b59..ae74b8dc 100644 --- a/ext/fg/js/api.js +++ b/ext/fg/js/api.js @@ -21,10 +21,18 @@ function apiOptionsGet(optionsContext) {      return _apiInvoke('optionsGet', {optionsContext});  } +function apiOptionsGetFull() { +    return _apiInvoke('optionsGetFull'); +} +  function apiOptionsSet(changedOptions, optionsContext, source) {      return _apiInvoke('optionsSet', {changedOptions, optionsContext, source});  } +function apiOptionsSave(source) { +    return _apiInvoke('optionsSave', {source}); +} +  function apiTermsFind(text, details, optionsContext) {      return _apiInvoke('termsFind', {text, details, optionsContext});  } |