File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 9
9
<?php $item_path = $item -> is_file ? $item -> url : $item -> path ; ? >
10
10
11
11
<div class =" square clickable {{ $item -> is_file ? ' ' : ' folder-item' } }" data-id =" {{ $item_path } }"
12
- @if ($item -> is_file && $thumb_src ) onclick =" fileView ('{{ $item_path } } ', '{{ $item -> updated } } ')"
12
+ @if ($item -> is_file && $thumb_src ) onclick =" useFile ('{{ $item_path } } ', '{{ $item -> updated } } ')"
13
13
@elseif ($item -> is_file ) onclick =" download('{{ $item_name } } ')" @endif >
14
14
@if ($thumb_src )
15
15
<img src =" {{ $thumb_src } }" >
22
22
<div class =" btn-group" >
23
23
<button type =" button" data-id =" {{ $item_path } }"
24
24
class =" item_name btn btn-default btn-xs {{ $item -> is_file ? ' ' : ' folder-item' } }"
25
- @if ($item -> is_file && $thumb_src ) onclick =" fileView ('{{ $item_path } } ', '{{ $item -> updated } } ')"
25
+ @if ($item -> is_file && $thumb_src ) onclick =" useFile ('{{ $item_path } } ', '{{ $item -> updated } } ')"
26
26
@elseif ($item -> is_file ) onclick =" download('{{ $item_name } } ')" @endif >
27
27
{{ $item_name } }
28
28
</button >
You can’t perform that action at this time.
0 commit comments