Skip to content

Commit

Permalink
Changes how we do AJAX calls via Select2 for dynamic drop-down menus
Browse files Browse the repository at this point in the history
  • Loading branch information
uberbrady committed Jul 14, 2020
1 parent 12c92e3 commit e7a820f
Show file tree
Hide file tree
Showing 11 changed files with 77 additions and 10,485 deletions.
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v6.11.3
2 changes: 1 addition & 1 deletion app/Http/Transformers/SelectlistTransformer.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function transformSelectlist (LengthAwarePaginator $select_items)
}

$results = [
'items' => $items_array,
'results' => $items_array,
'pagination' =>
[
'more' => ($select_items->currentPage() >= $select_items->lastPage()) ? false : true,
Expand Down
607 changes: 6 additions & 601 deletions public/css/build/all.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions public/css/dist/all.css

Large diffs are not rendered by default.

9,868 changes: 27 additions & 9,841 deletions public/js/build/all.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/build/vue.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion public/js/build/vue.js.map

Large diffs are not rendered by default.

54 changes: 27 additions & 27 deletions public/js/dist/all.js

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions public/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -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",
Expand All @@ -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",
Expand All @@ -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"
}
4 changes: 2 additions & 2 deletions resources/assets/js/snipeit.js
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ $(document).ready(function () {
};
return data;
},
processResults: function (data, params) {
/* processResults: function (data, params) {
params.page = params.page || 1;
Expand All @@ -229,7 +229,7 @@ $(document).ready(function () {
};
return answer;
},
}, */
cache: true
},
escapeMarkup: function (markup) { return markup; }, // let our custom formatter work
Expand Down
4 changes: 2 additions & 2 deletions resources/assets/js/snipeit_modals.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ $(function () {
};
return data;
},
processResults: function (data, params) {
/* processResults: function (data, params) {
params.page = params.page || 1;
Expand All @@ -79,7 +79,7 @@ $(function () {
};
return answer;
},
}, */
cache: true
},
escapeMarkup: function (markup) { return markup; }, // let our custom formatter work
Expand Down

0 comments on commit e7a820f

Please sign in to comment.