summaryrefslogtreecommitdiffstats
path: root/script/fileselect.js
diff options
context:
space:
mode:
authorSimon Rettberg2016-05-18 18:04:56 +0200
committerSimon Rettberg2016-05-18 18:04:56 +0200
commit2e18b36a287ad9b25619f9e2a073dcedf6d620ee (patch)
tree96d802fdc1c21ee9aa9b4d89a6611db7d8502433 /script/fileselect.js
parentModularized baseconfig fetching (api) (diff)
downloadslx-admin-2e18b36a287ad9b25619f9e2a073dcedf6d620ee.tar.gz
slx-admin-2e18b36a287ad9b25619f9e2a073dcedf6d620ee.tar.xz
slx-admin-2e18b36a287ad9b25619f9e2a073dcedf6d620ee.zip
MORE WMORK
Diffstat (limited to 'script/fileselect.js')
-rw-r--r--script/fileselect.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/script/fileselect.js b/script/fileselect.js
index df4ff7b9..13711fd5 100644
--- a/script/fileselect.js
+++ b/script/fileselect.js
@@ -7,17 +7,11 @@ $(document).on('change', '.btn-file :file', function() {
$(document).ready(function() {
$('.btn-file :file').on('fileselect', function(event, numFiles, label) {
-
var input = $(this).parents('.upload-ex').find(':text');
var log = numFiles > 1 ? numFiles + ' files selected' : label;
-
if (input.length) {
input.val(log);
- } else {
- if (log)
- alert(log);
}
-
});
});