Skip to content

Commit fef3166

Browse files
committed
rename file input to match with ckeditor's one
1 parent 54ad713 commit fef3166

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/views/index.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@
8686
<div class="modal-body">
8787
<form action="{{url('/laravel-filemanager/upload')}}" role='form' id='uploadForm' name='uploadForm' method='post' enctype='multipart/form-data'>
8888
<div class="form-group" id="attachment">
89-
<label for='file_to_upload' class='control-label'>{{ Lang::get('laravel-filemanager::lfm.message-choose') }}</label>
89+
<label for='upload' class='control-label'>{{ Lang::get('laravel-filemanager::lfm.message-choose') }}</label>
9090
<div class="controls">
9191
<div class="input-group" style="width: 100%">
92-
<input type="file" id="file_to_upload" name="upload">
92+
<input type="file" id="upload" name="upload">
9393
</div>
9494
</div>
9595
</div>
@@ -164,7 +164,7 @@ function showResponse(responseText, statusText, xhr, $form) {
164164
if (responseText != "OK"){
165165
notify(responseText);
166166
}
167-
$("#file_to_upload").val('');
167+
$("#upload").val('');
168168
loadItems();
169169
}
170170

0 commit comments

Comments
 (0)