diff options
Diffstat (limited to 'apps/files_sharing/js/authenticate.js')
-rw-r--r-- | apps/files_sharing/js/authenticate.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/apps/files_sharing/js/authenticate.js b/apps/files_sharing/js/authenticate.js new file mode 100644 index 00000000000..7f3f0d0a7d4 --- /dev/null +++ b/apps/files_sharing/js/authenticate.js @@ -0,0 +1,9 @@ +$(document).ready(function(){ + $('#password').on('keyup input change', function() { + if ($('#password').val().length > 0) { + $('#password-submit').prop('disabled', false); + } else { + $('#password-submit').prop('disabled', true); + } + }); +}); |