snipe-it icon indicating copy to clipboard operation
snipe-it copied to clipboard

Import page is blank

Open rodeff opened this issue 8 years ago • 14 comments

Expected Behavior (or desired behavior if a feature request) When you open the import page should have fields that let you import file.

Actual Behavior Currently */import page is blank. Just background :)

Please confirm you have done the following before posting your bug report:

I have enabled debug mode - no errors displayed. I have read checked the Common Issues page - yes and couldn't fine anything related to this issue.

Provide answers to these questions: •Is this a fresh install or an upgrade? Upgrade and New - I have two instances. •Version of Snipe-IT you're running - v4.1.10 build 3249 (g8d3a214) •Version of PHP you're running - 7.1.9 •Version of MySQL/MariaDB you're running - MariaDB 10.0 •What OS and web server you're running Snipe-IT on - Windows 2016 •What method you used to install Snipe-IT (install.sh, manual installation, docker, etc) - GIT •WITH DEBUG TURNED ON, if you're getting an error in your browser, include that error - No error •What specific Snipe-IT page you're on, and what specific element you're interacting with to trigger the error - */import •If a stacktrace is provided in the error, include that too. •Any errors that appear in your browser's error console. - n/a •Confirm whether the error is reproducible on the demo: https://snipeitapp.com/demo. - Yes, but also gives this: DEMO MODE: Some features are disabled for this installation. •Include any additional information you can find in storage/logs and your webserver's logs. •Include what you've done so far in the installation, and if you got any error messages along the way. •Indicate whether or not you've manually edited any data directly in the database - Yes, but long time ago and not modifying the locations.

Please do not post an issue without answering the related questions above. If you have opened a different issue and already answered these questions, answer them again, once for every ticket. It will be next to impossible for us to help you.

https://snipe-it.readme.io/docs/getting-help


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

rodeff avatar Feb 06 '18 06:02 rodeff

Can you provide screenshots? Also please provide a screenshot of your browser’s debug console - and if you could see if this happens in multiple browsers? Was there anything in your storage/logs?

snipe avatar Feb 06 '18 16:02 snipe

Hi, Just downloaded Mozilla Firefox, it works well with it, but with IE it doesn't. As IE is the default browser for our company, I can't use Firefox. Storage/logs/laravel.log has nothing related to this.

Here is the browser debug:

Import <pre><code> :: OURCOMPANY </title> <!-- Tell the browser to be responsive to screen width --> <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport"> <!-- Select2 --> <link rel="stylesheet" href="http://OURCOMPANY.COM/js/plugins/select2/select2.min.css"> <!-- iCheck for checkboxes and radio inputs --> <link rel="stylesheet" href="http://OURCOMPANY.COM/js/plugins/iCheck/all.css"> <!-- bootstrap tables CSS --> <link rel="stylesheet" href="http://OURCOMPANY.COM/css/bootstrap-table.css"> <link rel="stylesheet" href="http://OURCOMPANY.COM/css/dist/all.css?id=3a8aa974e7b09b52b18c"> <link rel="shortcut icon" type="image/ico" href="http://OURCOMPANY.COM/favicon.ico"> <meta name="csrf-token" content="QcaPXjrUo6aoGHH4HKbggyVsMdg3P6IDfgEYrYFz"> <script nonce="QcaPXjrUo6aoGHH4HKbggyVsMdg3P6IDfgEYrYFz"> window.Laravel = { csrfToken: 'QcaPXjrUo6aoGHH4HKbggyVsMdg3P6IDfgEYrYFz' }; </script> <style nonce="QcaPXjrUo6aoGHH4HKbggyVsMdg3P6IDfgEYrYFz"> @media (max-width: 400px) { .navbar-left { margin: 2px; } .nav::after { clear: none; } } </style> <script nonce="QcaPXjrUo6aoGHH4HKbggyVsMdg3P6IDfgEYrYFz"> window.snipeit = { settings: { "per_page": 50 } }; </script> <!-- Add laravel routes into javascript Primarily useful for vue.--> <script type="text/javascript"> var namedRoutes = JSON.parse('{"api.accessories.index":{"uri":"api\/v1\/accessories","methods":["GET","HEAD"],"domain":null},"api.accessories.store":{"uri":"api\/v1\/accessories","methods":["POST"],"domain":null},"api.accessories.show":{"uri":"api\/v1\/accessories\/{accessory}","methods":["GET","HEAD"],"domain":null},"api.accessories.update":{"uri":"api\/v1\/accessories\/{accessory}","methods":["PUT","PATCH"],"domain":null},"api.accessories.destroy":{"uri":"api\/v1\/accessories\/{accessory}","methods":["DELETE"],"domain":null},"api.accessories.checkedout":{"uri":"api\/v1\/accessories\/{accessory}\/checkedout","methods":["GET","HEAD"],"domain":null},"api.categories.selectlist":{"uri":"api\/v1\/categories\/{item_type}\/selectlist","methods":["GET","HEAD"],"domain":null},"api.categories.index":{"uri":"api\/v1\/categories","methods":["GET","HEAD"],"domain":null},"api.categories.store":{"uri":"api\/v1\/categories","methods":["POST"],"domain":null},"api.categories.show":{"uri":"api\/v1\/categories\/{category}","methods":["GET","HEAD"],"domain":null},"api.categories.update":{"uri":"api\/v1\/categories\/{category}","methods":["PUT","PATCH"],"domain":null},"api.categories.destroy":{"uri":"api\/v1\/categories\/{category}","methods":["DELETE"],"domain":null},"companies.selectlist":{"uri":"api\/v1\/companies\/selectlist","methods":["GET","HEAD"],"domain":null},"api.companies.index":{"uri":"api\/v1\/companies","methods":["GET","HEAD"],"domain":null},"api.companies.store":{"uri":"api\/v1\/companies","methods":["POST"],"domain":null},"api.companies.show":{"uri":"api\/v1\/companies\/{company}","methods":["GET","HEAD"],"domain":null},"api.companies.update":{"uri":"api\/v1\/companies\/{company}","methods":["PUT","PATCH"],"domain":null},"api.companies.destroy":{"uri":"api\/v1\/companies\/{company}","methods":["DELETE"],"domain":null},"api.departments.selectlist":{"uri":"api\/v1\/departments\/selectlist","methods":["GET","HEAD"],"domain":null},"api.departments.index":{"uri":"api\/v1\/departments","methods":["GET","HEAD"],"domain":null},"api.departments.store":{"uri":"api\/v1\/departments","methods":["POST"],"domain":null},"api.departments.show":{"uri":"api\/v1\/departments\/{department}","methods":["GET","HEAD"],"domain":null},"api.departments.update":{"uri":"api\/v1\/departments\/{department}","methods":["PUT","PATCH"],"domain":null},"api.departments.destroy":{"uri":"api\/v1\/departments\/{department}","methods":["DELETE"],"domain":null},"api.components.index":{"uri":"api\/v1\/components","methods":["GET","HEAD"],"domain":null},"api.components.store":{"uri":"api\/v1\/components","methods":["POST"],"domain":null},"api.components.show":{"uri":"api\/v1\/components\/{component}","methods":["GET","HEAD"],"domain":null},"api.components.update":{"uri":"api\/v1\/components\/{component}","methods":["PUT","PATCH"],"domain":null},"api.components.destroy":{"uri":"api\/v1\/components\/{component}","methods":["DELETE"],"domain":null},"api.components.assets":{"uri":"api\/v1\/components\/{component}\/assets","methods":["GET","HEAD"],"domain":null},"api.consumables.index":{"uri":"api\/v1\/consumables","methods":["GET","HEAD"],"domain":null},"api.consumables.store":{"uri":"api\/v1\/consumables","methods":["POST"],"domain":null},"api.consumables.show":{"uri":"api\/v1\/consumables\/{consumable}","methods":["GET","HEAD"],"domain":null},"api.consumables.update":{"uri":"api\/v1\/consumables\/{consumable}","methods":["PUT","PATCH"],"domain":null},"api.consumables.destroy":{"uri":"api\/v1\/consumables\/{consumable}","methods":["DELETE"],"domain":null},"api.consumables.showUsers":{"uri":"api\/v1\/consumables\/view\/{id}\/users","methods":["GET","HEAD"],"domain":null},"api.depreciations.index":{"uri":"api\/v1\/depreciations","methods":["GET","HEAD"],"domain":null},"api.depreciations.store":{"uri":"api\/v1\/depreciations","methods":["POST"],"domain":null},"api.depreciations.show":{"uri":"api\/v1\/depreciations\/{depreciation}","methods":["GET","HEAD"],"domain":null},"api.depreciations.update":{"uri":"api\/v1\/depreciations\/{depreciation}","methods":["PUT","PATCH"],"domain":null},"api.depreciations.destroy":{"uri":"api\/v1\/depreciations\/{depreciation}","methods":["DELETE"],"domain":null},"api.customfields.index":{"uri":"api\/v1\/fields","methods":["GET","HEAD"],"domain":null},"api.customfields.store":{"uri":"api\/v1\/fields","methods":["POST"],"domain":null},"api.customfields.show":{"uri":"api\/v1\/fields\/{field}","methods":["GET","HEAD"],"domain":null},"api.customfields.update":{"uri":"api\/v1\/fields\/{field}","methods":["PUT","PATCH"],"domain":null},"api.customfields.destroy":{"uri":"api\/v1\/fields\/{field}","methods":["DELETE"],"domain":null},"api.customfields.order":{"uri":"api\/v1\/fields\/fieldsets\/{id}\/order","methods":["POST"],"domain":null},"api.fieldsets.index":{"uri":"api\/v1\/fieldsets","methods":["GET","HEAD"],"domain":null},"api.fieldsets.store":{"uri":"api\/v1\/fieldsets","methods":["POST"],"domain":null},"api.fieldsets.show":{"uri":"api\/v1\/fieldsets\/{fieldset}","methods":["GET","HEAD"],"domain":null},"api.fieldsets.update":{"uri":"api\/v1\/fieldsets\/{fieldset}","methods":["PUT","PATCH"],"domain":null},"api.fieldsets.destroy":{"uri":"api\/v1\/fieldsets\/{fieldset}","methods":["DELETE"],"domain":null},"api.groups.index":{"uri":"api\/v1\/groups","methods":["GET","HEAD"],"domain":null},"api.groups.store":{"uri":"api\/v1\/groups","methods":["POST"],"domain":null},"api.groups.show":{"uri":"api\/v1\/groups\/{group}","methods":["GET","HEAD"],"domain":null},"api.groups.update":{"uri":"api\/v1\/groups\/{group}","methods":["PUT","PATCH"],"domain":null},"api.groups.destroy":{"uri":"api\/v1\/groups\/{group}","methods":["DELETE"],"domain":null},"assets.selectlist":{"uri":"api\/v1\/hardware\/selectlist","methods":["GET","HEAD"],"domain":null},"api.asset.audit":{"uri":"api\/v1\/hardware\/audit","methods":["POST"],"domain":null},"api.assets.checkout":{"uri":"api\/v1\/hardware\/{asset_id}\/checkout","methods":["POST"],"domain":null},"api.assets.checkin":{"uri":"api\/v1\/hardware\/{asset_id}\/checkin","methods":["POST"],"domain":null},"api.maintenances.index":{"uri":"api\/v1\/maintenances","methods":["GET","HEAD"],"domain":null},"api.maintenances.store":{"uri":"api\/v1\/maintenances","methods":["POST"],"domain":null},"api.maintenances.show":{"uri":"api\/v1\/maintenances\/{maintenance}","methods":["GET","HEAD"],"domain":null},"api.maintenances.update":{"uri":"api\/v1\/maintenances\/{maintenance}","methods":["PUT","PATCH"],"domain":null},"api.maintenances.destroy":{"uri":"api\/v1\/maintenances\/{maintenance}","methods":["DELETE"],"domain":null},"api.assets.index":{"uri":"api\/v1\/hardware","methods":["GET","HEAD"],"domain":null},"api.assets.store":{"uri":"api\/v1\/hardware","methods":["POST"],"domain":null},"api.assets.show":{"uri":"api\/v1\/hardware\/{hardware}","methods":["GET","HEAD"],"domain":null},"api.assets.update":{"uri":"api\/v1\/hardware\/{hardware}","methods":["PUT","PATCH"],"domain":null},"api.assets.destroy":{"uri":"api\/v1\/hardware\/{hardware}","methods":["DELETE"],"domain":null},"api.imports.index":{"uri":"api\/v1\/imports","methods":["GET","HEAD"],"domain":null},"api.imports.store":{"uri":"api\/v1\/imports","methods":["POST"],"domain":null},"api.imports.show":{"uri":"api\/v1\/imports\/{import}","methods":["GET","HEAD"],"domain":null},"api.imports.update":{"uri":"api\/v1\/imports\/{import}","methods":["PUT","PATCH"],"domain":null},"api.imports.destroy":{"uri":"api\/v1\/imports\/{import}","methods":["DELETE"],"domain":null},"api.imports.importFile":{"uri":"api\/v1\/imports\/process\/{import}","methods":["POST"],"domain":null},"api.license.seats":{"uri":"api\/v1\/licenses\/{licenseId}\/seats","methods":["GET","HEAD"],"domain":null},"api.licenses.index":{"uri":"api\/v1\/licenses","methods":["GET","HEAD"],"domain":null},"api.licenses.store":{"uri":"api\/v1\/licenses","methods":["POST"],"domain":null},"api.licenses.show":{"uri":"api\/v1\/licenses\/{license}","methods":["GET","HEAD"],"domain":null},"api.licenses.update":{"uri":"api\/v1\/licenses\/{license}","methods":["PUT","PATCH"],"domain":null},"api.licenses.destroy":{"uri":"api\/v1\/licenses\/{license}","methods":["DELETE"],"domain":null},"api.locations.viewusers":{"uri":"api\/v1\/locations\/{location}\/users","methods":["GET","HEAD"],"domain":null},"api.locations.viewassets":{"uri":"api\/v1\/locations\/{location}\/assets","methods":["GET","HEAD"],"domain":null},"api.locations.check":{"uri":"api\/v1\/locations\/{location}\/check","methods":["GET","HEAD"],"domain":null},"locations.selectlist":{"uri":"api\/v1\/locations\/selectlist","methods":["GET","HEAD"],"domain":null},"api.locations.index":{"uri":"api\/v1\/locations","methods":["GET","HEAD"],"domain":null},"api.locations.store":{"uri":"api\/v1\/locations","methods":["POST"],"domain":null},"api.locations.show":{"uri":"api\/v1\/locations\/{location}","methods":["GET","HEAD"],"domain":null},"api.locations.update":{"uri":"api\/v1\/locations\/{location}","methods":["PUT","PATCH"],"domain":null},"api.locations.destroy":{"uri":"api\/v1\/locations\/{location}","methods":["DELETE"],"domain":null},"manufacturers.selectlist":{"uri":"api\/v1\/manufacturers\/selectlist","methods":["GET","HEAD"],"domain":null},"api.manufacturers.index":{"uri":"api\/v1\/manufacturers","methods":["GET","HEAD"],"domain":null},"api.manufacturers.store":{"uri":"api\/v1\/manufacturers","methods":["POST"],"domain":null},"api.manufacturers.show":{"uri":"api\/v1\/manufacturers\/{manufacturer}","methods":["GET","HEAD"],"domain":null},"api.manufacturers.update":{"uri":"api\/v1\/manufacturers\/{manufacturer}","methods":["PUT","PATCH"],"domain":null},"api.manufacturers.destroy":{"uri":"api\/v1\/manufacturers\/{manufacturer}","methods":["DELETE"],"domain":null},"api.models.assets":{"uri":"api\/v1\/models\/assets","methods":["GET","HEAD"],"domain":null},"api.models.selectlist":{"uri":"api\/v1\/models\/selectlist","methods":["GET","HEAD"],"domain":null},"api.models.index":{"uri":"api\/v1\/models","methods":["GET","HEAD"],"domain":null},"api.models.store":{"uri":"api\/v1\/models","methods":["POST"],"domain":null},"api.models.show":{"uri":"api\/v1\/models\/{model}","methods":["GET","HEAD"],"domain":null},"api.models.update":{"uri":"api\/v1\/models\/{model}","methods":["PUT","PATCH"],"domain":null},"api.models.destroy":{"uri":"api\/v1\/models\/{model}","methods":["DELETE"],"domain":null},"api.settings.ldaptest":{"uri":"api\/v1\/settings\/ldaptest","methods":["GET","HEAD"],"domain":null},"api.settings.ldaptestlogin":{"uri":"api\/v1\/settings\/ldaptestlogin","methods":["POST"],"domain":null},"api.settings.mailtest":{"uri":"api\/v1\/settings\/mailtest","methods":["POST"],"domain":null},"api.settings.index":{"uri":"api\/v1\/settings","methods":["GET","HEAD"],"domain":null},"api.settings.store":{"uri":"api\/v1\/settings","methods":["POST"],"domain":null},"api.settings.show":{"uri":"api\/v1\/settings\/{setting}","methods":["GET","HEAD"],"domain":null},"api.settings.update":{"uri":"api\/v1\/settings\/{setting}","methods":["PUT","PATCH"],"domain":null},"api.statuslabels.assets.bytype":{"uri":"api\/v1\/statuslabels\/assets","methods":["GET","HEAD"],"domain":null},"api.statuslabels.assets":{"uri":"api\/v1\/statuslabels\/{statuslabel}\/assetlist","methods":["GET","HEAD"],"domain":null},"api.statuslabels.deployable":{"uri":"api\/v1\/statuslabels\/{statuslabel}\/deployable","methods":["GET","HEAD"],"domain":null},"api.statuslabels.index":{"uri":"api\/v1\/statuslabels","methods":["GET","HEAD"],"domain":null},"api.statuslabels.store":{"uri":"api\/v1\/statuslabels","methods":["POST"],"domain":null},"api.statuslabels.show":{"uri":"api\/v1\/statuslabels\/{statuslabel}","methods":["GET","HEAD"],"domain":null},"api.statuslabels.update":{"uri":"api\/v1\/statuslabels\/{statuslabel}","methods":["PUT","PATCH"],"domain":null},"api.statuslabels.destroy":{"uri":"api\/v1\/statuslabels\/{statuslabel}","methods":["DELETE"],"domain":null},"api.suppliers.list":{"uri":"api\/v1\/suppliers\/list","methods":["GET","HEAD"],"domain":null},"api.suppliers.selectlist":{"uri":"api\/v1\/suppliers\/selectlist","methods":["GET","HEAD"],"domain":null},"api.suppliers.index":{"uri":"api\/v1\/suppliers","methods":["GET","HEAD"],"domain":null},"api.suppliers.store":{"uri":"api\/v1\/suppliers","methods":["POST"],"domain":null},"api.suppliers.show":{"uri":"api\/v1\/suppliers\/{supplier}","methods":["GET","HEAD"],"domain":null},"api.suppliers.update":{"uri":"api\/v1\/suppliers\/{supplier}","methods":["PUT","PATCH"],"domain":null},"api.suppliers.destroy":{"uri":"api\/v1\/suppliers\/{supplier}","methods":["DELETE"],"domain":null},"api.users.two_factor_reset":{"uri":"api\/v1\/users\/two_factor_reset","methods":["POST"],"domain":null},"api.users.list":{"uri":"api\/v1\/users\/list\/{status?}","methods":["GET","HEAD"],"domain":null},"api.users.selectlist":{"uri":"api\/v1\/users\/selectlist","methods":["GET","HEAD"],"domain":null},"api.users.assetlist":{"uri":"api\/v1\/users\/{user}\/assets","methods":["GET","HEAD"],"domain":null},"api.users.uploads":{"uri":"api\/v1\/users\/{user}\/upload","methods":["POST"],"domain":null},"api.users.index":{"uri":"api\/v1\/users","methods":["GET","HEAD"],"domain":null},"api.users.store":{"uri":"api\/v1\/users","methods":["POST"],"domain":null},"api.users.show":{"uri":"api\/v1\/users\/{user}","methods":["GET","HEAD"],"domain":null},"api.users.update":{"uri":"api\/v1\/users\/{user}","methods":["PUT","PATCH"],"domain":null},"api.users.destroy":{"uri":"api\/v1\/users\/{user}","methods":["DELETE"],"domain":null},"api.activity.index":{"uri":"api\/v1\/reports\/activity","methods":["GET","HEAD"],"domain":null},"assets.bulkaudit":{"uri":"hardware\/bulkaudit","methods":["GET","HEAD"],"domain":null},"maintenances.index":{"uri":"hardware\/maintenances","methods":["GET","HEAD"],"domain":null},"maintenances.create":{"uri":"hardware\/maintenances\/create","methods":["GET","HEAD"],"domain":null},"maintenances.store":{"uri":"hardware\/maintenances","methods":["POST"],"domain":null},"maintenances.show":{"uri":"hardware\/maintenances\/{maintenance}","methods":["GET","HEAD"],"domain":null},"maintenances.edit":{"uri":"hardware\/maintenances\/{maintenance}\/edit","methods":["GET","HEAD"],"domain":null},"maintenances.update":{"uri":"hardware\/maintenances\/{maintenance}","methods":["PUT","PATCH"],"domain":null},"maintenances.destroy":{"uri":"hardware\/maintenances\/{maintenance}","methods":["DELETE"],"domain":null},"assets.requested":{"uri":"hardware\/requested","methods":["GET","HEAD"],"domain":null},"asset.scan":{"uri":"hardware\/scan","methods":["GET","HEAD"],"domain":null},"asset.audit.create":{"uri":"hardware\/audit\/{id}","methods":["GET","HEAD"],"domain":null},"asset.audit.store":{"uri":"hardware\/audit\/{id}","methods":["POST"],"domain":null},"asset.import-history":{"uri":"hardware\/history","methods":["GET","HEAD"],"domain":null},"asset.process-import-history":{"uri":"hardware\/history","methods":["POST"],"domain":null},"findbytag\/hardware":{"uri":"hardware\/bytag","methods":["GET","HEAD"],"domain":null},"clone\/hardware":{"uri":"hardware\/{assetId}\/clone","methods":["GET","HEAD"],"domain":null},"checkout\/hardware":{"uri":"hardware\/{assetId}\/checkout","methods":["POST"],"domain":null},"checkin\/hardware":{"uri":"hardware\/{assetId}\/checkin\/{backto?}","methods":["POST"],"domain":null},"hardware.view":{"uri":"hardware\/{assetId}\/view","methods":["GET","HEAD"],"domain":null},"qr_code\/hardware":{"uri":"hardware\/{assetId}\/qr_code","methods":["GET","HEAD"],"domain":null},"barcode\/hardware":{"uri":"hardware\/{assetId}\/barcode","methods":["GET","HEAD"],"domain":null},"restore\/hardware":{"uri":"hardware\/{assetId}\/restore","methods":["GET","HEAD"],"domain":null},"upload\/asset":{"uri":"hardware\/{assetId}\/upload","methods":["POST"],"domain":null},"show\/assetfile":{"uri":"hardware\/{assetId}\/showfile\/{fileId}","methods":["GET","HEAD"],"domain":null},"delete\/assetfile":{"uri":"hardware\/{assetId}\/showfile\/{fileId}\/delete","methods":["DELETE"],"domain":null},"hardware\/bulkedit":{"uri":"hardware\/bulkedit","methods":["POST"],"domain":null},"hardware\/bulkdelete":{"uri":"hardware\/bulkdelete","methods":["POST"],"domain":null},"hardware\/bulksave":{"uri":"hardware\/bulksave","methods":["POST"],"domain":null},"hardware\/bulkcheckout":{"uri":"hardware\/bulkcheckout","methods":["POST"],"domain":null},"hardware.index":{"uri":"hardware","methods":["GET","HEAD"],"domain":null},"hardware.create":{"uri":"hardware\/create","methods":["GET","HEAD"],"domain":null},"hardware.store":{"uri":"hardware","methods":["POST"],"domain":null},"hardware.show":{"uri":"hardware\/{hardware}","methods":["GET","HEAD"],"domain":null},"hardware.edit":{"uri":"hardware\/{hardware}\/edit","methods":["GET","HEAD"],"domain":null},"hardware.update":{"uri":"hardware\/{hardware}","methods":["PUT","PATCH"],"domain":null},"hardware.destroy":{"uri":"hardware\/{hardware}","methods":["DELETE"],"domain":null},"clone\/model":{"uri":"models\/{modelId}\/clone","methods":["GET","HEAD"],"domain":null},"view\/model":{"uri":"models\/{modelId}\/view","methods":["GET","HEAD"],"domain":null},"restore\/model":{"uri":"models\/{modelID}\/restore","methods":["GET","HEAD"],"domain":null},"custom_fields\/model":{"uri":"models\/{modelId}\/custom_fields","methods":["GET","HEAD"],"domain":null},"models.bulkedit.index":{"uri":"models\/bulkedit","methods":["POST"],"domain":null},"models.bulkedit.store":{"uri":"models\/bulksave","methods":["POST"],"domain":null},"models.bulkdelete.store":{"uri":"models\/bulkdelete","methods":["POST"],"domain":null},"models.index":{"uri":"models","methods":["GET","HEAD"],"domain":null},"models.create":{"uri":"models\/create","methods":["GET","HEAD"],"domain":null},"models.store":{"uri":"models","methods":["POST"],"domain":null},"models.show":{"uri":"models\/{model}","methods":["GET","HEAD"],"domain":null},"models.edit":{"uri":"models\/{model}\/edit","methods":["GET","HEAD"],"domain":null},"models.update":{"uri":"models\/{model}","methods":["PUT","PATCH"],"domain":null},"models.destroy":{"uri":"models\/{model}","methods":["DELETE"],"domain":null},"checkout\/accessory":{"uri":"accessories\/{accessoryID}\/checkout","methods":["POST"],"domain":null},"checkin\/accessory":{"uri":"accessories\/{accessoryID}\/checkin\/{backto?}","methods":["POST"],"domain":null},"accessories.index":{"uri":"accessories","methods":["GET","HEAD"],"domain":null},"accessories.create":{"uri":"accessories\/create","methods":["GET","HEAD"],"domain":null},"accessories.store":{"uri":"accessories","methods":["POST"],"domain":null},"accessories.show":{"uri":"accessories\/{accessory}","methods":["GET","HEAD"],"domain":null},"accessories.edit":{"uri":"accessories\/{accessory}\/edit","methods":["GET","HEAD"],"domain":null},"accessories.update":{"uri":"accessories\/{accessory}","methods":["PUT","PATCH"],"domain":null},"accessories.destroy":{"uri":"accessories\/{accessory}","methods":["DELETE"],"domain":null},"clone\/license":{"uri":"licenses\/{licenseId}\/clone","methods":["POST"],"domain":null},"licenses.freecheckout":{"uri":"licenses\/{licenseId}\/freecheckout","methods":["GET","HEAD"],"domain":null},"licenses.checkout":{"uri":"licenses\/{licenseId}\/checkout","methods":["POST"],"domain":null},"licenses.checkin":{"uri":"licenses\/{licenseId}\/checkin\/{backto?}","methods":["GET","HEAD"],"domain":null},"licenses.checkin.save":{"uri":"licenses\/{licenseId}\/checkin\/{backto?}","methods":["POST"],"domain":null},"upload\/license":{"uri":"licenses\/{licenseId}\/upload","methods":["POST"],"domain":null},"delete\/licensefile":{"uri":"licenses\/{licenseId}\/deletefile\/{fileId}","methods":["DELETE"],"domain":null},"show\/licensefile":{"uri":"licenses\/{licenseId}\/showfile\/{fileId}","methods":["GET","HEAD"],"domain":null},"licenses.index":{"uri":"licenses","methods":["GET","HEAD"],"domain":null},"licenses.create":{"uri":"licenses\/create","methods":["GET","HEAD"],"domain":null},"licenses.store":{"uri":"licenses","methods":["POST"],"domain":null},"licenses.show":{"uri":"licenses\/{license}","methods":["GET","HEAD"],"domain":null},"licenses.edit":{"uri":"licenses\/{license}\/edit","methods":["GET","HEAD"],"domain":null},"licenses.update":{"uri":"licenses\/{license}","methods":["PUT","PATCH"],"domain":null},"licenses.destroy":{"uri":"licenses\/{license}","methods":["DELETE"],"domain":null},"checkout\/consumable":{"uri":"consumables\/{consumableID}\/checkout","methods":["POST"],"domain":null},"consumables.index":{"uri":"consumables","methods":["GET","HEAD"],"domain":null},"consumables.create":{"uri":"consumables\/create","methods":["GET","HEAD"],"domain":null},"consumables.store":{"uri":"consumables","methods":["POST"],"domain":null},"consumables.show":{"uri":"consumables\/{consumable}","methods":["GET","HEAD"],"domain":null},"consumables.edit":{"uri":"consumables\/{consumable}\/edit","methods":["GET","HEAD"],"domain":null},"consumables.update":{"uri":"consumables\/{consumable}","methods":["PUT","PATCH"],"domain":null},"consumables.destroy":{"uri":"consumables\/{consumable}","methods":["DELETE"],"domain":null},"fields.disassociate":{"uri":"fields\/{field_id}\/fieldset\/{fieldset_id}\/disassociate","methods":["GET","HEAD"],"domain":null},"fieldsets.associate":{"uri":"fields\/fieldsets\/{id}\/associate","methods":["POST"],"domain":null},"fieldsets.index":{"uri":"fields\/fieldsets","methods":["GET","HEAD"],"domain":null},"fieldsets.create":{"uri":"fields\/fieldsets\/create","methods":["GET","HEAD"],"domain":null},"fieldsets.store":{"uri":"fields\/fieldsets","methods":["POST"],"domain":null},"fieldsets.show":{"uri":"fields\/fieldsets\/{fieldset}","methods":["GET","HEAD"],"domain":null},"fieldsets.edit":{"uri":"fields\/fieldsets\/{fieldset}\/edit","methods":["GET","HEAD"],"domain":null},"fieldsets.update":{"uri":"fields\/fieldsets\/{fieldset}","methods":["PUT","PATCH"],"domain":null},"fieldsets.destroy":{"uri":"fields\/fieldsets\/{fieldset}","methods":["DELETE"],"domain":null},"fields.index":{"uri":"fields","methods":["GET","HEAD"],"domain":null},"fields.create":{"uri":"fields\/create","methods":["GET","HEAD"],"domain":null},"fields.store":{"uri":"fields","methods":["POST"],"domain":null},"fields.show":{"uri":"fields\/{field}","methods":["GET","HEAD"],"domain":null},"fields.edit":{"uri":"fields\/{field}\/edit","methods":["GET","HEAD"],"domain":null},"fields.update":{"uri":"fields\/{field}","methods":["PUT","PATCH"],"domain":null},"fields.destroy":{"uri":"fields\/{field}","methods":["DELETE"],"domain":null},"checkout\/component":{"uri":"components\/{componentID}\/checkout","methods":["POST"],"domain":null},"checkin\/component":{"uri":"components\/{componentID}\/checkin","methods":["GET","HEAD"],"domain":null},"component.checkin.save":{"uri":"components\/{componentID}\/checkin","methods":["POST"],"domain":null},"component\/bulk-form":{"uri":"components\/bulk","methods":["POST"],"domain":null},"component\/bulk-save":{"uri":"components\/bulksave","methods":["POST"],"domain":null},"components.index":{"uri":"components","methods":["GET","HEAD"],"domain":null},"components.create":{"uri":"components\/create","methods":["GET","HEAD"],"domain":null},"components.store":{"uri":"components","methods":["POST"],"domain":null},"components.show":{"uri":"components\/{component}","methods":["GET","HEAD"],"domain":null},"components.edit":{"uri":"components\/{component}\/edit","methods":["GET","HEAD"],"domain":null},"components.update":{"uri":"components\/{component}","methods":["PUT","PATCH"],"domain":null},"components.destroy":{"uri":"components\/{component}","methods":["DELETE"],"domain":null},"ldap\/user":{"uri":"users\/ldap","methods":["GET","HEAD"],"domain":null},"import\/user":{"uri":"users\/import","methods":["GET","HEAD"],"domain":null},"users.export":{"uri":"users\/export","methods":["GET","HEAD"],"domain":null},"clone\/user":{"uri":"users\/{userId}\/clone","methods":["GET","HEAD"],"domain":null},"restore\/user":{"uri":"users\/{userId}\/restore","methods":["GET","HEAD"],"domain":null},"unsuspend\/user":{"uri":"users\/{userId}\/unsuspend","methods":["GET","HEAD"],"domain":null},"upload\/user":{"uri":"users\/{userId}\/upload","methods":["POST"],"domain":null},"userfile.destroy":{"uri":"users\/{userId}\/deletefile\/{fileId}","methods":["DELETE"],"domain":null},"users.print":{"uri":"users\/{userId}\/print","methods":["GET","HEAD"],"domain":null},"show\/userfile":{"uri":"users\/{userId}\/showfile\/{fileId}","methods":["GET","HEAD"],"domain":null},"users\/bulkedit":{"uri":"users\/bulkedit","methods":["POST"],"domain":null},"users\/bulksave":{"uri":"users\/bulksave","methods":["POST"],"domain":null},"users\/bulkeditsave":{"uri":"users\/bulkeditsave","methods":["POST"],"domain":null},"users.index":{"uri":"users","methods":["GET","HEAD"],"domain":null},"users.create":{"uri":"users\/create","methods":["GET","HEAD"],"domain":null},"users.store":{"uri":"users","methods":["POST"],"domain":null},"users.show":{"uri":"users\/{user}","methods":["GET","HEAD"],"domain":null},"users.edit":{"uri":"users\/{user}\/edit","methods":["GET","HEAD"],"domain":null},"users.update":{"uri":"users\/{user}","methods":["PUT","PATCH"],"domain":null},"users.destroy":{"uri":"users\/{user}","methods":["DELETE"],"domain":null},"companies.index":{"uri":"companies","methods":["GET","HEAD"],"domain":null},"companies.create":{"uri":"companies\/create","methods":["GET","HEAD"],"domain":null},"companies.store":{"uri":"companies","methods":["POST"],"domain":null},"companies.show":{"uri":"companies\/{company}","methods":["GET","HEAD"],"domain":null},"companies.edit":{"uri":"companies\/{company}\/edit","methods":["GET","HEAD"],"domain":null},"companies.update":{"uri":"companies\/{company}","methods":["PUT","PATCH"],"domain":null},"companies.destroy":{"uri":"companies\/{company}","methods":["DELETE"],"domain":null},"categories.index":{"uri":"categories","methods":["GET","HEAD"],"domain":null},"categories.create":{"uri":"categories\/create","methods":["GET","HEAD"],"domain":null},"categories.store":{"uri":"categories","methods":["POST"],"domain":null},"categories.show":{"uri":"categories\/{category}","methods":["GET","HEAD"],"domain":null},"categories.edit":{"uri":"categories\/{category}\/edit","methods":["GET","HEAD"],"domain":null},"categories.update":{"uri":"categories\/{category}","methods":["PUT","PATCH"],"domain":null},"categories.destroy":{"uri":"categories\/{category}","methods":["DELETE"],"domain":null},"locations.index":{"uri":"locations","methods":["GET","HEAD"],"domain":null},"locations.create":{"uri":"locations\/create","methods":["GET","HEAD"],"domain":null},"locations.store":{"uri":"locations","methods":["POST"],"domain":null},"locations.show":{"uri":"locations\/{location}","methods":["GET","HEAD"],"domain":null},"locations.edit":{"uri":"locations\/{location}\/edit","methods":["GET","HEAD"],"domain":null},"locations.update":{"uri":"locations\/{location}","methods":["PUT","PATCH"],"domain":null},"locations.destroy":{"uri":"locations\/{location}","methods":["DELETE"],"domain":null},"manufacturers.index":{"uri":"manufacturers","methods":["GET","HEAD"],"domain":null},"manufacturers.create":{"uri":"manufacturers\/create","methods":["GET","HEAD"],"domain":null},"manufacturers.store":{"uri":"manufacturers","methods":["POST"],"domain":null},"manufacturers.show":{"uri":"manufacturers\/{manufacturer}","methods":["GET","HEAD"],"domain":null},"manufacturers.edit":{"uri":"manufacturers\/{manufacturer}\/edit","methods":["GET","HEAD"],"domain":null},"manufacturers.update":{"uri":"manufacturers\/{manufacturer}","methods":["PUT","PATCH"],"domain":null},"manufacturers.destroy":{"uri":"manufacturers\/{manufacturer}","methods":["DELETE"],"domain":null},"suppliers.index":{"uri":"suppliers","methods":["GET","HEAD"],"domain":null},"suppliers.create":{"uri":"suppliers\/create","methods":["GET","HEAD"],"domain":null},"suppliers.store":{"uri":"suppliers","methods":["POST"],"domain":null},"suppliers.show":{"uri":"suppliers\/{supplier}","methods":["GET","HEAD"],"domain":null},"suppliers.edit":{"uri":"suppliers\/{supplier}\/edit","methods":["GET","HEAD"],"domain":null},"suppliers.update":{"uri":"suppliers\/{supplier}","methods":["PUT","PATCH"],"domain":null},"suppliers.destroy":{"uri":"suppliers\/{supplier}","methods":["DELETE"],"domain":null},"depreciations.index":{"uri":"depreciations","methods":["GET","HEAD"],"domain":null},"depreciations.create":{"uri":"depreciations\/create","methods":["GET","HEAD"],"domain":null},"depreciations.store":{"uri":"depreciations","methods":["POST"],"domain":null},"depreciations.show":{"uri":"depreciations\/{depreciation}","methods":["GET","HEAD"],"domain":null},"depreciations.edit":{"uri":"depreciations\/{depreciation}\/edit","methods":["GET","HEAD"],"domain":null},"depreciations.update":{"uri":"depreciations\/{depreciation}","methods":["PUT","PATCH"],"domain":null},"depreciations.destroy":{"uri":"depreciations\/{depreciation}","methods":["DELETE"],"domain":null},"statuslabels.index":{"uri":"statuslabels","methods":["GET","HEAD"],"domain":null},"statuslabels.create":{"uri":"statuslabels\/create","methods":["GET","HEAD"],"domain":null},"statuslabels.store":{"uri":"statuslabels","methods":["POST"],"domain":null},"statuslabels.show":{"uri":"statuslabels\/{statuslabel}","methods":["GET","HEAD"],"domain":null},"statuslabels.edit":{"uri":"statuslabels\/{statuslabel}\/edit","methods":["GET","HEAD"],"domain":null},"statuslabels.update":{"uri":"statuslabels\/{statuslabel}","methods":["PUT","PATCH"],"domain":null},"statuslabels.destroy":{"uri":"statuslabels\/{statuslabel}","methods":["DELETE"],"domain":null},"departments.index":{"uri":"departments","methods":["GET","HEAD"],"domain":null},"departments.create":{"uri":"departments\/create","methods":["GET","HEAD"],"domain":null},"departments.store":{"uri":"departments","methods":["POST"],"domain":null},"departments.show":{"uri":"departments\/{department}","methods":["GET","HEAD"],"domain":null},"departments.edit":{"uri":"departments\/{department}\/edit","methods":["GET","HEAD"],"domain":null},"departments.update":{"uri":"departments\/{department}","methods":["PUT","PATCH"],"domain":null},"departments.destroy":{"uri":"departments\/{department}","methods":["DELETE"],"domain":null},"modal.location":{"uri":"modals\/location","methods":["GET","HEAD"],"domain":null},"modal.category":{"uri":"modals\/category","methods":["GET","HEAD"],"domain":null},"modal.manufacturer":{"uri":"modals\/manufacturer","methods":["GET","HEAD"],"domain":null},"modal.model":{"uri":"modals\/model","methods":["GET","HEAD"],"domain":null},"modal.statuslabel":{"uri":"modals\/statuslabel","methods":["GET","HEAD"],"domain":null},"modal.supplier":{"uri":"modals\/supplier","methods":["GET","HEAD"],"domain":null},"modal.user":{"uri":"modals\/user","methods":["GET","HEAD"],"domain":null},"log.signature.view":{"uri":"display-sig\/{filename}","methods":["GET","HEAD"],"domain":null},"settings.general.index":{"uri":"admin\/settings","methods":["GET","HEAD"],"domain":null},"settings.general.save":{"uri":"admin\/settings","methods":["POST"],"domain":null},"settings.branding.index":{"uri":"admin\/branding","methods":["GET","HEAD"],"domain":null},"settings.branding.save":{"uri":"admin\/branding","methods":["POST"],"domain":null},"settings.security.index":{"uri":"admin\/security","methods":["GET","HEAD"],"domain":null},"settings.security.save":{"uri":"admin\/security","methods":["POST"],"domain":null},"groups.index":{"uri":"admin\/groups","methods":["GET","HEAD"],"domain":null},"settings.localization.index":{"uri":"admin\/localization","methods":["GET","HEAD"],"domain":null},"settings.localization.save":{"uri":"admin\/localization","methods":["POST"],"domain":null},"settings.alerts.index":{"uri":"admin\/notifications","methods":["GET","HEAD"],"domain":null},"settings.alerts.save":{"uri":"admin\/notifications","methods":["POST"],"domain":null},"settings.slack.index":{"uri":"admin\/slack","methods":["GET","HEAD"],"domain":null},"settings.slack.save":{"uri":"admin\/slack","methods":["POST"],"domain":null},"settings.asset_tags.index":{"uri":"admin\/asset_tags","methods":["GET","HEAD"],"domain":null},"settings.asset_tags.save":{"uri":"admin\/asset_tags","methods":["POST"],"domain":null},"settings.barcodes.index":{"uri":"admin\/barcodes","methods":["GET","HEAD"],"domain":null},"settings.barcodes.save":{"uri":"admin\/barcodes","methods":["POST"],"domain":null},"settings.labels.index":{"uri":"admin\/labels","methods":["GET","HEAD"],"domain":null},"settings.labels.save":{"uri":"admin\/labels","methods":["POST"],"domain":null},"settings.ldap.index":{"uri":"admin\/ldap","methods":["GET","HEAD"],"domain":null},"settings.ldap.save":{"uri":"admin\/ldap","methods":["POST"],"domain":null},"settings.phpinfo.index":{"uri":"admin\/phpinfo","methods":["GET","HEAD"],"domain":null},"settings.oauth.index":{"uri":"admin\/oauth","methods":["GET","HEAD"],"domain":null},"settings.purge.index":{"uri":"admin\/purge","methods":["GET","HEAD"],"domain":null},"settings.purge.save":{"uri":"admin\/purge","methods":["POST"],"domain":null},"settings.backups.download":{"uri":"admin\/backups\/download\/{filename}","methods":["GET","HEAD"],"domain":null},"settings.backups.destroy":{"uri":"admin\/backups\/delete\/{filename}","methods":["DELETE"],"domain":null},"settings.backups.create":{"uri":"admin\/backups","methods":["POST"],"domain":null},"settings.backups.index":{"uri":"admin\/backups","methods":["GET","HEAD"],"domain":null},"groups.create":{"uri":"admin\/groups\/create","methods":["GET","HEAD"],"domain":null},"groups.store":{"uri":"admin\/groups","methods":["POST"],"domain":null},"groups.show":{"uri":"admin\/groups\/{group}","methods":["GET","HEAD"],"domain":null},"groups.edit":{"uri":"admin\/groups\/{group}\/edit","methods":["GET","HEAD"],"domain":null},"groups.update":{"uri":"admin\/groups\/{group}","methods":["PUT","PATCH"],"domain":null},"groups.destroy":{"uri":"admin\/groups\/{group}","methods":["DELETE"],"domain":null},"settings.index":{"uri":"admin","methods":["GET","HEAD"],"domain":null},"imports.index":{"uri":"import","methods":["GET","HEAD"],"domain":null},"profile":{"uri":"account\/profile","methods":["GET","HEAD"],"domain":null},"account.menuprefs":{"uri":"account\/menu","methods":["GET","HEAD"],"domain":null},"account.password.index":{"uri":"account\/password","methods":["GET","HEAD"],"domain":null},"user.api":{"uri":"account\/api","methods":["GET","HEAD"],"domain":null},"view-assets":{"uri":"account\/view-assets","methods":["GET","HEAD"],"domain":null},"account\/accept-assets":{"uri":"account\/accept-asset\/{logID}","methods":["GET","HEAD"],"domain":null},"account\/asset-accepted":{"uri":"account\/accept-asset\/{logID}","methods":["POST"],"domain":null},"requestable-assets":{"uri":"account\/requestable-assets","methods":["GET","HEAD"],"domain":null},"account\/request-asset":{"uri":"account\/request-asset\/{assetId}","methods":["GET","HEAD"],"domain":null},"account\/request-item":{"uri":"account\/request\/{itemType}\/{itemId}","methods":["POST"],"domain":null},"account":{"uri":"account","methods":["GET","HEAD"],"domain":null},"reports.audit":{"uri":"reports\/audit","methods":["GET","HEAD"],"domain":null},"reports\/depreciation":{"uri":"reports\/depreciation","methods":["GET","HEAD"],"domain":null},"reports\/export\/depreciation":{"uri":"reports\/export\/depreciation","methods":["GET","HEAD"],"domain":null},"reports\/asset_maintenances":{"uri":"reports\/asset_maintenances","methods":["GET","HEAD"],"domain":null},"reports\/export\/asset_maintenances":{"uri":"reports\/export\/asset_maintenances","methods":["GET","HEAD"],"domain":null},"reports\/licenses":{"uri":"reports\/licenses","methods":["GET","HEAD"],"domain":null},"reports\/export\/licenses":{"uri":"reports\/export\/licenses","methods":["GET","HEAD"],"domain":null},"reports\/assets":{"uri":"reports\/assets","methods":["GET","HEAD"],"domain":null},"reports.export.assets":{"uri":"reports\/export\/assets","methods":["GET","HEAD"],"domain":null},"reports\/accessories":{"uri":"reports\/accessories","methods":["GET","HEAD"],"domain":null},"reports\/export\/accessories":{"uri":"reports\/export\/accessories","methods":["GET","HEAD"],"domain":null},"reports\/custom":{"uri":"reports\/custom","methods":["GET","HEAD"],"domain":null},"reports.activity":{"uri":"reports\/activity","methods":["GET","HEAD"],"domain":null},"reports\/unaccepted_assets":{"uri":"reports\/unaccepted_assets","methods":["GET","HEAD"],"domain":null},"reports\/export\/unaccepted_assets":{"uri":"reports\/export\/unaccepted_assets","methods":["GET","HEAD"],"domain":null},"setup.user":{"uri":"setup\/user","methods":["GET","HEAD"],"domain":null},"setup.user.save":{"uri":"setup\/user","methods":["POST"],"domain":null},"setup.migrate":{"uri":"setup\/migrate","methods":["GET","HEAD"],"domain":null},"setup.done":{"uri":"setup\/done","methods":["GET","HEAD"],"domain":null},"setup.mailtest":{"uri":"setup\/mailtest","methods":["GET","HEAD"],"domain":null},"setup":{"uri":"setup","methods":["GET","HEAD"],"domain":null},"two-factor-enroll":{"uri":"two-factor-enroll","methods":["GET","HEAD"],"domain":null},"two-factor":{"uri":"two-factor","methods":["POST"],"domain":null},"home":{"uri":"\/","methods":["GET","HEAD"],"domain":null},"login":{"uri":"login","methods":["GET","HEAD"],"domain":null},"logout":{"uri":"logout","methods":["POST"],"domain":null},"register":{"uri":"register","methods":["GET","HEAD"],"domain":null},"password.request":{"uri":"password\/reset","methods":["GET","HEAD"],"domain":null},"password.email":{"uri":"password\/email","methods":["POST"],"domain":null},"password.reset":{"uri":"password\/reset\/{token}","methods":["GET","HEAD"],"domain":null}}'), baseUrl = 'http://OURCOMPANY.COM/'; var Router = function(name, params, absolute) { this.name = name; this.urlParams = this.normalizeParams(params); this.queryParams = this.normalizeParams(params); this.absolute = absolute === undefined ? true : absolute; this.domain = this.constructDomain(); this.url = namedRoutes[this.name].uri.replace(/^\//, ''); String.call(this); </code></pre> <p>};</p> <p>Router.prototype = Object.create(String.prototype); Router.prototype.constructor = Router;</p> <p>Router.prototype.normalizeParams = function(params) { if (params === undefined) return {};</p> <pre><code>params = typeof params !== 'object' ? [params] : params; this.numericParamIndices = Array.isArray(params); return Object.assign({}, params); </code></pre> <p>};</p> <p>Router.prototype.constructDomain = function() { if (this.name === undefined) { throw 'Ziggy Error: You must provide a route name'; } else if (namedRoutes[this.name] === undefined) { throw 'Ziggy Error: route "'+ this.name +'" is not found in the route list'; } else if (! this.absolute) { return '/'; }</p> <pre><code>return (namedRoutes[this.name].domain || baseUrl).replace(/\/+$/,'') + '/'; </code></pre> <p>};</p> <p>Router.prototype.with = function(params) { this.urlParams = this.normalizeParams(params);</p> <pre><code>return this; </code></pre> <p>};</p> <p>Router.prototype.withQuery = function(params) { Object.assign(this.queryParams, params);</p> <pre><code>return this; </code></pre> <p>};</p> <p>Router.prototype.constructUrl = function() { var url = this.domain + this.url, tags = this.urlParams, paramsArrayKey = 0;</p> <pre><code>return url.replace( /{([^}]+)}/gi, function (tag) { var keyName = tag.replace(/\{|\}/gi, '').replace(/\?$/, ''), key = this.numericParamIndices ? paramsArrayKey : keyName; paramsArrayKey++; if (typeof tags[key] !== 'undefined') { delete this.queryParams[key]; return tags[key].id || tags[key]; } if (tag.indexOf('?') === -1) { throw 'Ziggy Error: "' + keyName + '" key is required for route "' + this.name + '"'; } else { return ''; } }.bind(this) ); </code></pre> <p>};</p> <p>Router.prototype.constructQuery = function() { if (Object.keys(this.queryParams).length === 0) return '';</p> <pre><code>var queryString = '?'; Object.keys(this.queryParams).forEach(function(key, i) { queryString = i === 0 ? queryString : queryString + '&'; queryString += key + '=' + this.queryParams[key]; }.bind(this)); return queryString; </code></pre> <p>};</p> <p>Router.prototype.toString = function() { this.parse(); return this.return; };</p> <p>Router.prototype.valueOf = function() { this.parse(); return this.return; };</p> <p>Router.prototype.parse = function() { this.return = this.constructUrl() + this.constructQuery(); };</p> <p>var route = function(name, params, absolute) { return new Router(name, params, absolute); };</p> <p>if (typeof exports !== 'undefined') { exports.route = route }</p> <p></script> <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries --> <!-- WARNING: Respond.js doesn't work if you view the page via file:// --> <!--[if lt IE 9]></p> <pre><code> <script src="http://OURCOMPANY.COM/js/html5shiv.js" nonce="QcaPXjrUo6aoGHH4HKbggyVsMdg3P6IDfgEYrYFz"></script> <script src="http://OURCOMPANY.COM/js/respond.js" nonce="QcaPXjrUo6aoGHH4HKbggyVsMdg3P6IDfgEYrYFz"></script> <![endif]--> </code></pre> </head> <body class="sidebar-mini skin-blue sidebar-mini sidebar-collapse"> <div class="wrapper"> <pre><code> <header class="main-header"> <!-- Logo --> <!-- Header Navbar: style can be found in header.less --> <nav class="navbar navbar-static-top" role="navigation"> <!-- Sidebar toggle button above the compact sidenav --> <a href="#" style="color: white" class="sidebar-toggle btn btn-white" data-toggle="offcanvas" role="button"> <span class="sr-only">Toggle navigation</span> </a> <ul class="nav navbar-nav navbar-left"> <li class="left-navblock"> <a class="logo navbar-brand no-hover" href="http://OURCOMPANY.COM"> <img class="navbar-brand-img" src="http://OURCOMPANY.COM/uploads/logo.png"> </a> </li> </ul> <!-- Navbar Right Menu --> <div class="navbar-custom-menu"> <ul class="nav navbar-nav"> <li > <a href="http://OURCOMPANY.COM/hardware"> <i class="fa fa-barcode"></i> </a> </li> <li > <a href="http://OURCOMPANY.COM/licenses"> <i class="fa fa-floppy-o"></i> </a> </li> <li > <a href="http://OURCOMPANY.COM/accessories"> <i class="fa fa-keyboard-o"></i> </a> </li> <li > <a href="http://OURCOMPANY.COM/consumables"> <i class="fa fa-tint"></i> </a> </li> <li > <a href="http://OURCOMPANY.COM/components"> <i class="fa fa-hdd-o"></i> </a> </li> <form class="navbar-form navbar-left form-horizontal" role="search" action="http://OURCOMPANY.COM/hardware/bytag" method="get"> <div class="col-xs-12 col-md-12"> <div class="col-xs-12 form-group"> <label class="sr-only" for="tagSearch">Lookup by Asset Tag</label> <input type="text" class="form-control" id="tagSearch" name="assetTag" placeholder="Lookup by Asset Tag"> <input type="hidden" name="topsearch" value="true"> </div> <div class="col-xs-1"> <button type="submit" class="btn btn-primary pull-right"><i class="fa fa-search"></i></button> </div> </div> </form> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> Create New <b class="caret"></b> </a> <ul class="dropdown-menu"> <li > <a href="http://OURCOMPANY.COM/hardware/create"> <i class="fa fa-barcode fa-fw"></i> Asset </a> </li> <li > <a href="http://OURCOMPANY.COM/licenses/create"> <i class="fa fa-floppy-o fa-fw"></i> License </a> </li> <li > <a href="http://OURCOMPANY.COM/accessories/create"> <i class="fa fa-keyboard-o fa-fw"></i> Accessory</a> </li> <li > <a href="http://OURCOMPANY.COM/consumables/create"> <i class="fa fa-tint fa-fw"></i> Consumable </a> </li> <li > <a href="http://OURCOMPANY.COM/components/create"> <i class="fa fa-hdd-o"></i> Component </a> </li> <li > <a href="http://OURCOMPANY.COM/users/create"> <i class="fa fa-user fa-fw"></i> User </a> </li> </ul> </li> <!-- User Account: style can be found in dropdown.less --> <li class="dropdown user user-menu"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <img src="http://OURCOMPANY.COM/uploads/avatars/giphy.gif" class="user-image" alt="User Image"> <span class="hidden-xs">Snipe <b class="caret"></b></span> </a> <ul class="dropdown-menu"> <!-- User image --> <li > <a href="http://OURCOMPANY.COM/account/view-assets"> <i class="fa fa-check fa-fw"></i> View Assigned Assets </a></li> <li> <a href="http://OURCOMPANY.COM/account/profile"> <i class="fa fa-user fa-fw"></i> Edit Your Profile </a> </li> <li> <a href="http://OURCOMPANY.COM/account/password"> <i class="fa fa-asterisk fa-fw"></i> Change Password </a> </li> <li> <a href="http://OURCOMPANY.COM/account/api"> <i class="fa fa-user-secret fa-fw"></i> Manage API Keys </a> </li> <li class="divider"></li> <li> <a href="http://OURCOMPANY.COM/logout"> <i class="fa fa-sign-out fa-fw"></i> Logout </a> </li> </ul> </li> <li> <a href="http://OURCOMPANY.COM/admin"> <i class="fa fa-cogs fa-fw"></i> </a> </li> </ul> </div> </nav> <a href="#" style="float:left" class="sidebar-toggle-mobile visible-xs btn" data-toggle="offcanvas" role="button"> <span class="sr-only">Toggle navigation</span> <i class="fa fa-bars"></i> </a> <!-- Sidebar toggle button--> </header> <!-- Left side column. contains the logo and sidebar --> <aside class="main-sidebar"> <!-- sidebar: style can be found in sidebar.less --> <section class="sidebar"> <!-- sidebar menu: : style can be found in sidebar.less --> <ul class="sidebar-menu"> <li > <a href="http://OURCOMPANY.COM"> <i class="fa fa-dashboard"></i> <span>Dashboard</span> </a> </li> <li class="treeview"> <a href="#"><i class="fa fa-barcode"></i> <span>Assets</span> <i class="fa fa-angle-left pull-right"></i> </a> <ul class="treeview-menu"> <li> <a href="http://OURCOMPANY.COM/hardware"> List All </a> </li> <li> <a href="http://OURCOMPANY.COM/hardware?status=Deployed"><i class="fa fa-circle-o text-blue"></i> All Deployed </a> </li> <li> <a href="http://OURCOMPANY.COM/hardware?status=RTD"> <i class="fa fa-circle-o text-green"></i> All Ready to Deploy </a> </li> <li><a href="http://OURCOMPANY.COM/hardware?status=Pending"><i class="fa fa-circle-o text-orange"></i> All Pending </a> </li> <li ><a href="http://OURCOMPANY.COM/hardware?status=Undeployable"><i class="fa fa-times text-red"></i> All Un-deployable </a> </li> <li><a href="http://OURCOMPANY.COM/hardware?status=Archived"><i class="fa fa-times text-red"></i> All Archived </a> </li> <li><a href="http://OURCOMPANY.COM/hardware?status=Requestable"><i class="fa fa-check text-blue"></i> Requestable </a> </li> <li class="divider">&nbsp;</li> <li> <a href="http://OURCOMPANY.COM/hardware/bulkcheckout"> Bulk Checkout </a> </li> <li> <a href="http://OURCOMPANY.COM/hardware/requested"> Requested</a> </li> <li> <a href="http://OURCOMPANY.COM/hardware?status=Deleted"> Deleted </a> </li> <li> <a href="http://OURCOMPANY.COM/hardware/maintenances"> Asset Maintenances </a> </li> <li> <a href="http://OURCOMPANY.COM/hardware/history"> Import History </a> </li> <li> <a href="http://OURCOMPANY.COM/hardware/bulkaudit"> Bulk Audit </a> </li> </ul> </li> <li> <a href="http://OURCOMPANY.COM/licenses"> <i class="fa fa-floppy-o"></i> <span>Licenses</span> </a> </li> <li> <a href="http://OURCOMPANY.COM/accessories"> <i class="fa fa-keyboard-o"></i> <span>Accessories</span> </a> </li> <li> <a href="http://OURCOMPANY.COM/consumables"> <i class="fa fa-tint"></i> <span>Consumables</span> </a> </li> <li> <a href="http://OURCOMPANY.COM/components"> <i class="fa fa-hdd-o"></i> <span>Components</span> </a> </li> <li> <a href="http://OURCOMPANY.COM/users"> <i class="fa fa-users"></i> <span>People</span> </a> </li> <li> <a href="http://OURCOMPANY.COM/import"> <i class="fa fa-cloud-download"></i> <span>Import</span> </a> </li> <li class="treeview"> <a href="#"> <i class="fa fa-gear"></i> <span>Settings</span> <i class="fa fa-angle-left pull-right"></i> </a> <ul class="treeview-menu"> <li > <a href="http://OURCOMPANY.COM/fields"> Custom Fields </a> </li> <li > <a href="http://OURCOMPANY.COM/statuslabels"> Status Labels </a> </li> <li> <a href="http://OURCOMPANY.COM/models" > Asset Models </a> </li> <li> <a href="http://OURCOMPANY.COM/categories" > Categories </a> </li> <li> <a href="http://OURCOMPANY.COM/manufacturers" > Manufacturers </a> </li> <li> <a href="http://OURCOMPANY.COM/suppliers" > Suppliers </a> </li> <li> <a href="http://OURCOMPANY.COM/departments" > Departments </a> </li> <li> <a href="http://OURCOMPANY.COM/locations" > Locations </a> </li> <li> <a href="http://OURCOMPANY.COM/companies" > Companies </a> </li> <li> <a href="http://OURCOMPANY.COM/depreciations" > Depreciation </a> </li> </ul> </li> <li class="treeview"> <a href="http://OURCOMPANY.COM/reports" class="dropdown-toggle"> <i class="fa fa-bar-chart"></i> <span>Reports</span> <i class="fa fa-angle-left pull-right"></i> </a> <ul class="treeview-menu"> <li> <a href="http://OURCOMPANY.COM/reports/activity" > Activity Report </a> </li> <li><a href="http://OURCOMPANY.COM/reports/audit" > Audit Log</a> </li> <li> <a href="http://OURCOMPANY.COM/reports/depreciation" > Depreciation Report </a> </li> <li> <a href="http://OURCOMPANY.COM/reports/licenses" > License Report </a> </li> <li> <a href="http://OURCOMPANY.COM/reports/asset_maintenances" > Asset Maintenance Report </a> </li> <li> <a href="http://OURCOMPANY.COM/reports/unaccepted_assets" > Unaccepted Assets </a> </li> <li> <a href="http://OURCOMPANY.COM/reports/accessories" > Accessory Report </a> </li> <li> <a href="http://OURCOMPANY.COM/reports/custom" > Custom Asset Report </a> </li> </ul> </li> <li> <a href="http://OURCOMPANY.COM/account/requestable-assets"> <i class="fa fa-laptop"></i> <span>Requestable</span> </a> </li> </ul> </section> <!-- /.sidebar --> </aside> <!-- Content Wrapper. Contains page content --> <div class="content-wrapper"> <!-- Content Header (Page header) --> <section class="content-header" style="padding-bottom: 30px;"> <h1 class="pull-left"> Import </h1> <div class="pull-right"> </div> </section> <section class="content"> <!-- Notifications --> <div class="row"> </div> <!-- Content --> <div id="webui"> <link rel="stylesheet" type="text/css" href="http://OURCOMPANY.COM/css/lib/jquery.fileupload.css"> <style> [v-cloak] { display:none; } </style> </code></pre> <div id="app"> <importer inline-template v-cloak> <div class="row"> <alert v-show="alert.visible" :alert-type="alert.type" v-on:hide="alert.visible = false" rel="nofollow" target="_blank">{{ alert.message }}</alert> <errors :errors="importErrors"></errors> <pre><code> <div class="col-md-12"> <div class="box"> <div class="box-body"> <div class="row"> <div class="col-md-3"> <!-- The fileinput-button span is used to style the file input field as button --> <span class="btn btn-info fileinput-button"> <span>Select Import File...</span> <!-- The file input field used as target for the file upload widget --> <input id="fileupload" type="file" name="files[]" data-url="http://OURCOMPANY.COM/api/v1/imports" accept="text/csv"> </span> </div> <div class="col-md-9" v-show="progress.visible" style="padding-bottom:20px"> <div class="col-md-11"> <div class="progress progress-striped-active" style="margin-top: 8px"> <div class="progress-bar" :class="progress.currentClass" role="progressbar" :style="progressWidth"> <span>{{ progress.statusText }}</span> </div> </div> </div> </div> </div> <div class="row"> <div class="col-md-12" style="padding-top: 30px;"> <table class="table table-striped" id="upload-table"> <thead> <th>File</th> <th>Created</th> <th>Size</th> <th></th> </thead> <tbody> <template v-for="currentFile in files"> <tr> <td>{{ currentFile.file_path }}</td> <td>{{ currentFile.created_at }} </td> <td>{{ currentFile.filesize }}</td> <td> <button class="btn btn-sm btn-info" @click="toggleEvent(currentFile.id)">Process</button> <button class="btn btn-sm btn-danger" @click="deleteFile(currentFile)"><i class="fa fa-trash icon-white"></i></button> </td> </tr> <import-file :key="currentFile.id" :file="currentFile" :custom-fields="customFields" @alert="updateAlert(alert)"> </import-file> </template> </tbody> </table> </div> </div> </div> </div> </div> </div> </importer> </code></pre> </div> </div> <pre><code> </section> </div><!-- /.content-wrapper --> <footer class="main-footer hidden-print"> <div class="pull-right hidden-xs"> <b>Version</b> v4.1.10 - build 3249 (master) <a target="_blank" class="btn btn-default btn-xs" href="https://snipe-it.readme.io/docs/overview" rel="noopener">User's Manual</a> <a target="_blank" class="btn btn-default btn-xs" href="https://snipeitapp.com/support/" rel="noopener">Report a Bug</a> </div> <a target="_blank" href="https://snipeitapp.com" rel="noopener">Snipe-IT</a> is an open source project, made with <i class="fa fa-heart" style="color: #a94442; font-size: 10px"></i> by <a href="https://twitter.com/snipeitapp" rel="noopener">@snipeitapp</a> under the <a href="https://www.gnu.org/licenses/agpl-3.0.en.html" rel="noopener">AGPL3 license</a>. </footer> </div><!-- ./wrapper --> <!-- end main container --> <div class="modal modal-danger fade" id="dataConfirmModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button> <h4 class="modal-title" id="myModalLabel"></h4> </div> <div class="modal-body"></div> <div class="modal-footer"> <form method="post" id="deleteForm" role="form"> <input type="hidden" name="_token" value="QcaPXjrUo6aoGHH4HKbggyVsMdg3P6IDfgEYrYFz"> <input type="hidden" name="_method" value="DELETE"> <button type="button" class="btn btn-default pull-left" data-dismiss="modal">Cancel</button> <button type="submit" class="btn btn-outline" id="dataConfirmOK">Yes</button> </form> </div> </div> </div> </div> <script src="http://OURCOMPANY.COM/js/dist/all.js?id=722d1692756a30dc1ece" nonce="QcaPXjrUo6aoGHH4HKbggyVsMdg3P6IDfgEYrYFz"></script> <script nonce="QcaPXjrUo6aoGHH4HKbggyVsMdg3P6IDfgEYrYFz"> new Vue({ el: '#app' }); </code></pre> <p></script></p> <pre><code><script nonce="QcaPXjrUo6aoGHH4HKbggyVsMdg3P6IDfgEYrYFz"> $(function () { $('[data-toggle="tooltip"]').tooltip(); $('.select2 span').addClass('needsclick'); // This javascript handles saving the state of the menu (expanded or not) $('body').bind('expanded.pushMenu', function() { $.ajax({ type: 'GET', url: "http://OURCOMPANY.COM/account/menu?state=open", _token: "QcaPXjrUo6aoGHH4HKbggyVsMdg3P6IDfgEYrYFz" }); }); $('body').bind('collapsed.pushMenu', function() { $.ajax({ type: 'GET', url: "http://OURCOMPANY.COM/account/menu?state=close", _token: "QcaPXjrUo6aoGHH4HKbggyVsMdg3P6IDfgEYrYFz" }); }); }); // Initiate the ekko lightbox $(document).on('click', '[data-toggle="lightbox"]', function(event) { event.preventDefault(); $(this).ekkoLightbox(); }); </script> </code></pre> </body> </html> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/33031528?v=4" alt="rodeff avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Feb 07 '18 06:02 </span> <a class="owner-name" href="http://gitmemories.com/rodeff"> rodeff </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>And here is the screenshot:</p> <p><img src="https://user-images.githubusercontent.com/33031528/35902539-3fa9a2cc-0be4-11e8-91a8-1504f4e00ea7.jpg" alt="15179863431298408494727930670896"></p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/33031528?v=4" alt="rodeff avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Feb 07 '18 06:02 </span> <a class="owner-name" href="http://gitmemories.com/rodeff"> rodeff </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>That’s the source code, not the browser debug console.</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/197404?v=4" alt="snipe avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Feb 07 '18 18:02 </span> <a class="owner-name" href="http://gitmemories.com/snipe"> snipe </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>Ahahahahahhha, you are so right. I must have been sleeping and not thinking what I was doing 😀 Here is the log. <img src="https://user-images.githubusercontent.com/33031528/35958955-1326d9f4-0cac-11e8-8bb5-36675585111a.JPG" alt="1"></p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/33031528?v=4" alt="rodeff avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Feb 08 '18 06:02 </span> <a class="owner-name" href="http://gitmemories.com/rodeff"> rodeff </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>Hello :) I had the same problem.</p> <p>I found that it is the template tag in the import.blade.php file which generates an error because it is in a tbody tag.</p> <p>I solve this problem by :</p> <ul> <li>removing the template tag and replace the loop on the tr tag.</li> <li>replacing the import-file tag into the tr tag and added td tag which is parent of import-file tag / child of tr tag. With these modifications, the display is not the same but it is working.</li> </ul> <p>This is my modifications (import.blade.php line 63):</p> <pre><code> <tbody> <tr v-for="currentFile in files"> <td>@{{ currentFile.file_path }}</td> <td>@{{ currentFile.created_at }} </td> <td>@{{ currentFile.filesize }}</td> <td> <button class="btn btn-sm btn-info" @click="toggleEvent(currentFile.id)">Process</button> <button class="btn btn-sm btn-danger" @click="deleteFile(currentFile)"><i class="fa fa-trash icon-white"></i></button> </td> <td> <import-file :key="currentFile.id" :file="currentFile" :custom-fields="customFields" @alert="updateAlert(alert)"> </import-file> </td> </tr> </tbody> </code></pre> <p>And this is the result on the screen :</p> <p><img src="https://user-images.githubusercontent.com/37537300/39580727-16dfdaf2-4eea-11e8-9159-b5b28edf1863.PNG" alt="ie11"></p> <p>However, when we click on the delete button, there is the error "Object doesn't support property or method 'assign' ". It seems that this method comes from the Ziggy package. I don't know how to solve this problem. Does anyone have an idea ?</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/37537300?v=4" alt="lea-mink avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> May 03 '18 13:05 </span> <a class="owner-name" href="http://gitmemories.com/lea-mink"> lea-mink </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>@dmeltzer have you had a chance to look at this?</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/197404?v=4" alt="snipe avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jul 25 '18 10:07 </span> <a class="owner-name" href="http://gitmemories.com/snipe"> snipe </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>I have the same problem.</p> <p><img src="https://user-images.githubusercontent.com/23185284/44389298-0937e600-a55d-11e8-8001-04c6eb2e899a.png" alt="image"></p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/23185284?v=4" alt="linglongtong avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Aug 21 '18 08:08 </span> <a class="owner-name" href="http://gitmemories.com/linglongtong"> linglongtong </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>@dmeltzer have you found a solve for this one yet?</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/197404?v=4" alt="snipe avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Aug 22 '18 00:08 </span> <a class="owner-name" href="http://gitmemories.com/snipe"> snipe </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>@dmeltzer I know you probably haven't had a chance to look at this, but any chance you'll be able to?</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/197404?v=4" alt="snipe avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Oct 31 '18 17:10 </span> <a class="owner-name" href="http://gitmemories.com/snipe"> snipe </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>I am seeing this issue on current <code>develop</code> branch, testing IE:</p> <p><img src="https://user-images.githubusercontent.com/1509456/51575105-931a1100-1e65-11e9-9408-2d39cb002452.png" alt="image"></p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/1509456?u=04e2015adf4ec2807ac512fb704dd0a3abb97c94&v=4" alt="HinchK avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jan 23 '19 00:01 </span> <a class="owner-name" href="http://gitmemories.com/HinchK"> HinchK </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p><img src="https://user-images.githubusercontent.com/1509456/51575173-e4c29b80-1e65-11e9-8a3f-c4feb7c51897.png" alt="image"> (IE 11.253....) <img src="https://user-images.githubusercontent.com/1509456/51575214-16d3fd80-1e66-11e9-897f-715eb107b4aa.png" alt="image"></p> <p>From the console output:</p> <p><code>"'currentFile'" is undefined</code></p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/1509456?u=04e2015adf4ec2807ac512fb704dd0a3abb97c94&v=4" alt="HinchK avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jan 23 '19 00:01 </span> <a class="owner-name" href="http://gitmemories.com/HinchK"> HinchK </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>Possible resource:</p> <p>https://stackoverflow.com/questions/52564265/in-microsoft-edge-vue-does-a-web-page-error-it-works-well-in-other-browsers-w</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/197404?v=4" alt="snipe avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jan 23 '19 01:01 </span> <a class="owner-name" href="http://gitmemories.com/snipe"> snipe </a> </div> </div> <div class="clear-both"></div> </div> <div class="issue-body"> <p> <p>This fix is now on develop and will be in the next major release</p> </p> <div class="body-meta"> <div class="owner-info float-right"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/197404?v=4" alt="snipe avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <span class="w3-opacity w3-small"> Jan 24 '19 23:01 </span> <a class="owner-name" href="http://gitmemories.com/snipe"> snipe </a> </div> </div> <div class="clear-both"></div> </div> </section> </div> </div> </div> <aside class="detail-info-box"> <h3 class="title pkg-infobox-metadata">Labels</h3> <div class="pub-labels"> <div class="pub-label-item" style="background-color: fc2929"> :hand: bug </div> <div class="pub-label-item" style="background-color: c5def5"> frontend </div> </div> <script type="text/javascript"> atOptions = { 'key' : '6ca19c2b16e3f20a28885886ef99a68e', 'format' : 'iframe', 'height' : 250, 'width' : 300, 'params' : {} }; </script> <script type="text/javascript" src="https://www.highperformanceformat.com/6ca19c2b16e3f20a28885886ef99a68e/invoke.js" ></script> <h3 class="title">Owner</h3> <div class="owner-info flex-items-center d-flex"> <img class="owner-avatar" src="https://avatars.githubusercontent.com/u/33031528?v=4" alt="rodeff avatar" width="48" height="48" title="Published by a pub.dev verified publisher"/> <a class="owner-name" href="http://gitmemories.com/rodeff"> rodeff </a> </div> <hr class="color1"> <h3>Other Repo Issues</h3> <div class="packages"> </div> <div style="clear: both"></div> </aside> </div> </div> </main> <footer class="site-footer"> <span>© 2022 Git Memory </span> <a class="link sep" href="http://gitmemories.com/privacy-policy">Policy</a> <a class="link sep" href="http://gitmemories.com/terms">Terms </a> <a class="link sep" href="http://gitmemories.com/contact">Contact </a> <a class="link sep" href="https://exchangetuts.com">Exchangetuts </a> <a class="link sep" href="https://onltools.com/">Onltools </a> <a class="link sep" href="https://serveraide.com/">Serveraide </a> </footer> <script src="http://gitmemories.com/js/app.js?id=a1337f444c840fae34ad"></script> </body> </html>