Skip to content

Commit c961730

Browse files
committed
[chores] Added comment to automcomplete.js
1 parent 80e742f commit c961730

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

openwisp_users/static/admin/js/autocomplete.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
// Custom override of Django's autocomplete.js to add the "is_filter" parameter
2+
// to AJAX requests. This parameter enables the backend autocomplete view to
3+
// determine if the request is for filtering, allowing it to include the shared
4+
// option when appropriate (e.g., for filtering shared objects in the admin).
5+
16
"use strict";
27
{
38
const $ = django.jQuery;

0 commit comments

Comments
 (0)