mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-12 16:44:08 -08:00
Removed Ziggy.baseUrl references for meta references that had baseUrl
This commit is contained in:
parent
d037ec5b9c
commit
8268aca9fc
Binary file not shown.
BIN
public/js/dist/all.js
vendored
BIN
public/js/dist/all.js
vendored
Binary file not shown.
|
@ -1,5 +1,5 @@
|
||||||
{
|
{
|
||||||
"/js/build/app.js": "/js/build/app.js?id=ee4c16832f4e57724d24",
|
"/js/build/app.js": "/js/build/app.js?id=050aa61503e5a18e8f1c",
|
||||||
"/css/dist/skins/skin-blue.css": "/css/dist/skins/skin-blue.css?id=83e39e254b7f9035eddc",
|
"/css/dist/skins/skin-blue.css": "/css/dist/skins/skin-blue.css?id=83e39e254b7f9035eddc",
|
||||||
"/css/build/overrides.css": "/css/build/overrides.css?id=b9b59d80509972c3b16a",
|
"/css/build/overrides.css": "/css/build/overrides.css?id=b9b59d80509972c3b16a",
|
||||||
"/css/build/app.css": "/css/build/app.css?id=1da91ae0ff24d10b7207",
|
"/css/build/app.css": "/css/build/app.css?id=1da91ae0ff24d10b7207",
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
"/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=93c24b4c89490bbfd73e",
|
"/css/dist/bootstrap-table.css": "/css/dist/bootstrap-table.css?id=93c24b4c89490bbfd73e",
|
||||||
"/js/build/vendor.js": "/js/build/vendor.js?id=651427cc4b45d8e68d0c",
|
"/js/build/vendor.js": "/js/build/vendor.js?id=651427cc4b45d8e68d0c",
|
||||||
"/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=5bbc20d77c1456cfc2ef",
|
"/js/dist/bootstrap-table.js": "/js/dist/bootstrap-table.js?id=5bbc20d77c1456cfc2ef",
|
||||||
"/js/dist/all.js": "/js/dist/all.js?id=a92af2190b95651745cf",
|
"/js/dist/all.js": "/js/dist/all.js?id=651427cc4b45d8e68d0c",
|
||||||
"/css/dist/skins/skin-green.min.css": "/css/dist/skins/skin-green.min.css?id=efda2335fa5243175850",
|
"/css/dist/skins/skin-green.min.css": "/css/dist/skins/skin-green.min.css?id=efda2335fa5243175850",
|
||||||
"/css/dist/skins/skin-green-dark.min.css": "/css/dist/skins/skin-green-dark.min.css?id=76cd718f22d841ba3632",
|
"/css/dist/skins/skin-green-dark.min.css": "/css/dist/skins/skin-green-dark.min.css?id=76cd718f22d841ba3632",
|
||||||
"/css/dist/skins/skin-black.min.css": "/css/dist/skins/skin-black.min.css?id=ec96c42439cdeb022133",
|
"/css/dist/skins/skin-black.min.css": "/css/dist/skins/skin-black.min.css?id=ec96c42439cdeb022133",
|
||||||
|
|
|
@ -201,7 +201,7 @@ $(document).ready(function () {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
||||||
// the baseUrl includes a trailing slash
|
// the baseUrl includes a trailing slash
|
||||||
url: Ziggy.baseUrl + 'api/v1/' + endpoint + '/selectlist',
|
url: baseUrl + 'api/v1/' + endpoint + '/selectlist',
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
delay: 250,
|
delay: 250,
|
||||||
headers: {
|
headers: {
|
||||||
|
@ -286,7 +286,7 @@ $(document).ready(function () {
|
||||||
var endpoint = element.data("endpoint");
|
var endpoint = element.data("endpoint");
|
||||||
var assetStatusType = element.data("asset-status-type");
|
var assetStatusType = element.data("asset-status-type");
|
||||||
$.ajax({
|
$.ajax({
|
||||||
url: Ziggy.baseUrl + 'api/v1/' + endpoint + '/selectlist?search='+value+'&page=1' + (assetStatusType ? '&assetStatusType='+assetStatusType : ''),
|
url: baseUrl + 'api/v1/' + endpoint + '/selectlist?search='+value+'&page=1' + (assetStatusType ? '&assetStatusType='+assetStatusType : ''),
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
headers: {
|
headers: {
|
||||||
"X-Requested-With": 'XMLHttpRequest',
|
"X-Requested-With": 'XMLHttpRequest',
|
||||||
|
|
|
@ -54,7 +54,7 @@ $(function () {
|
||||||
ajax: {
|
ajax: {
|
||||||
|
|
||||||
// the baseUrl includes a trailing slash
|
// the baseUrl includes a trailing slash
|
||||||
url: Ziggy.baseUrl + 'api/v1/' + endpoint + '/selectlist',
|
url: baseUrl + 'api/v1/' + endpoint + '/selectlist', //WARNING - we're hoping that's defined on the page somewhere...
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
delay: 250,
|
delay: 250,
|
||||||
headers: {
|
headers: {
|
||||||
|
|
|
@ -74,7 +74,7 @@
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
<!-- Add laravel routes into javascript Primarily useful for vue.-->
|
<!-- Add laravel routes into javascript Primarily useful for vue.-->
|
||||||
@routes('vue_routes')
|
@routes
|
||||||
|
|
||||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||||
<script src="{{ url(asset('js/html5shiv.js')) }}" nonce="{{ csrf_token() }}"></script>
|
<script src="{{ url(asset('js/html5shiv.js')) }}" nonce="{{ csrf_token() }}"></script>
|
||||||
|
|
Loading…
Reference in a new issue