Changes how we do AJAX calls via Select2 for dynamic drop-down menus

This commit is contained in:
Brady Wetherington 2020-07-13 17:14:31 -07:00
parent 12c92e30b7
commit e7a820f7c9
11 changed files with 13 additions and 12 deletions

1
.nvmrc Normal file
View file

@ -0,0 +1 @@
v6.11.3

View file

@ -33,7 +33,7 @@ class SelectlistTransformer
}
$results = [
'items' => $items_array,
'results' => $items_array,
'pagination' =>
[
'more' => ($select_items->currentPage() >= $select_items->lastPage()) ? false : true,

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
public/js/dist/all.js vendored

Binary file not shown.

View file

@ -1,5 +1,5 @@
{
"/js/build/vue.js": "/js/build/vue.js?id=461ae9803574a5a52d43",
"/js/build/vue.js": "/js/build/vue.js?id=e3e396dd72e00e2cb0c0",
"/css/AdminLTE.css": "/css/AdminLTE.css?id=56b8066cfbc70df10545",
"/css/app.css": "/css/app.css?id=407edb63cc6b6dc62405",
"/css/overrides.css": "/css/overrides.css?id=d1fe6296eb548247a5ad",
@ -18,7 +18,7 @@
"/css/skins/skin-blue-dark.css": "/css/skins/skin-blue-dark.css?id=d25c77d9c6f4cfe2efd4",
"/css/skins/skin-orange-dark.css": "/css/skins/skin-orange-dark.css?id=abc219c1fed59cecb860",
"/css/skins/skin-orange.css": "/css/skins/skin-orange.css?id=59664dbd286988d2a438",
"/js/build/vue.js.map": "/js/build/vue.js.map?id=b1638dbc458713cd9c38",
"/js/build/vue.js.map": "/js/build/vue.js.map?id=0e924fc4c62d0c99f7ec",
"/css/AdminLTE.css.map": "/css/AdminLTE.css.map?id=5a2d6f3c59191ce716e2",
"/css/app.css.map": "/css/app.css.map?id=96b5c985e860716e6a16",
"/css/overrides.css.map": "/css/overrides.css.map?id=f3e3cf42859eb4a28a7b",
@ -37,8 +37,8 @@
"/css/skins/skin-blue-dark.css.map": "/css/skins/skin-blue-dark.css.map?id=32784cb5d02773eb0e69",
"/css/skins/skin-orange-dark.css.map": "/css/skins/skin-orange-dark.css.map?id=68b998638217fd08ef29",
"/css/skins/skin-orange.css.map": "/css/skins/skin-orange.css.map?id=f90fda3cc0a48c048a9e",
"/css/dist/all.css": "/css/dist/all.css?id=0491555899142b86167d",
"/js/dist/all.js": "/js/dist/all.js?id=bf5cd2065e997d7692e0",
"/css/build/all.css": "/css/build/all.css?id=0491555899142b86167d",
"/js/build/all.js": "/js/build/all.js?id=bf5cd2065e997d7692e0"
}
"/css/dist/all.css": "/css/dist/all.css?id=8914ab6c43541879ad79",
"/js/dist/all.js": "/js/dist/all.js?id=47b2be5a7782307280bc",
"/css/build/all.css": "/css/build/all.css?id=8914ab6c43541879ad79",
"/js/build/all.js": "/js/build/all.js?id=47b2be5a7782307280bc"
}

View file

@ -217,7 +217,7 @@ $(document).ready(function () {
};
return data;
},
processResults: function (data, params) {
/* processResults: function (data, params) {
params.page = params.page || 1;
@ -229,7 +229,7 @@ $(document).ready(function () {
};
return answer;
},
}, */
cache: true
},
escapeMarkup: function (markup) { return markup; }, // let our custom formatter work

View file

@ -67,7 +67,7 @@ $(function () {
};
return data;
},
processResults: function (data, params) {
/* processResults: function (data, params) {
params.page = params.page || 1;
@ -79,7 +79,7 @@ $(function () {
};
return answer;
},
}, */
cache: true
},
escapeMarkup: function (markup) { return markup; }, // let our custom formatter work