From 16e4675d93dc4aed5c39f4c0066abac252ffe539 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Fri, 28 May 2021 10:36:39 +0200 Subject: [PATCH] add comment --- views/bootstrap/class.Bootstrap.php | 1 + views/bootstrap4/class.Bootstrap4.php | 1 + 2 files changed, 2 insertions(+) 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,