diff options
Diffstat (limited to 'application/views')
-rw-r--r-- | application/views/file/upload_form.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php index a83fcccd4..1f537da48 100644 --- a/application/views/file/upload_form.php +++ b/application/views/file/upload_form.php @@ -7,6 +7,7 @@ </p> </form> <script type="text/javascript"> + /* <![CDATA[ */ // check file size before uploading if browser support html5 if (window.File && window.FileList) { function checkFileUpload(evt) { @@ -22,6 +23,7 @@ document.getElementById('file').addEventListener('change', checkFileUpload, false); } + /* ]]> */ </script> <p>Pasting text directly has been disabled due to extensive bot problems. Please use the file upload instead.</p> <?php if (false): ?> |