diff --git a/views/bootstrap/class.Bootstrap.php b/views/bootstrap/class.Bootstrap.php index 43e7d2548..921e0a846 100644 --- a/views/bootstrap/class.Bootstrap.php +++ b/views/bootstrap/class.Bootstrap.php @@ -1351,6 +1351,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; function printFileChooserJs() { /* {{{ */ ?> $(document).ready(function() { + /* Triggered after the file has been selected */ $(document).on('change', '.btn-file :file', function() { var input = $(this), numFiles = input.get(0).files ? input.get(0).files.length : 1, diff --git a/views/bootstrap4/class.Bootstrap4.php b/views/bootstrap4/class.Bootstrap4.php index 1b3e2f021..6884df265 100644 --- a/views/bootstrap4/class.Bootstrap4.php +++ b/views/bootstrap4/class.Bootstrap4.php @@ -1350,6 +1350,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);; function printFileChooserJs() { /* {{{ */ ?> $(document).ready(function() { + /* Triggered after the file has been selected */ $(document).on('change', '.btn-file :file', function() { var input = $(this), numFiles = input.get(0).files ? input.get(0).files.length : 1,