Skip to content

Commit

Permalink
Use http_request instead of ajax.request in FormRemoteSelect.fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
rnixx committed Feb 6, 2024
1 parent bb2a0fc commit 6f04b91
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/form.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import $ from 'jquery';
import {ajax} from '../src/ajax.js';
import {http_request} from '../src/request.js';
import {Events} from '../src/events.js';
import {changeListener} from './listener.js';
import {
Expand Down Expand Up @@ -159,7 +159,7 @@ export class FormRemoteSelect extends FormSelect {
* @param {Object} params - Request query parameters.
*/
fetch(params) {
ajax.request({
http_request({
type: 'json',
url: this.vocab,
params: params,
Expand Down
2 changes: 1 addition & 1 deletion treibstoff/bundle/treibstoff.bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -1771,7 +1771,7 @@ var ts = (function (exports, $) {
this.vocab = opts.vocab;
}
fetch(params) {
ajax.request({
http_request({
type: 'json',
url: this.vocab,
params: params,
Expand Down
Loading

0 comments on commit 6f04b91

Please sign in to comment.