We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d350498 commit 9d003e7Copy full SHA for 9d003e7
src/views/index.blade.php
@@ -410,6 +410,8 @@ function download(file_name) {
410
location.href = '/laravel-filemanager/download?'
411
+ 'working_dir='
412
+ $('#working_dir').val()
413
+ + '&type='
414
+ + $('#type').val()
415
+ '&file='
416
+ file_name;
417
}
@@ -427,6 +429,10 @@ function useFile(file) {
427
429
item_url = file_url;
428
430
@endif
431
432
+ if (path.indexOf(ds) === 0) {
433
+ path = path.substring(1);
434
+ }
435
+
436
if (path != ds) {
437
item_url = item_url + path + ds;
438
0 commit comments