From 31392c24434c8dfbe770cec93ccb3c209392334e Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 11 Jun 2018 14:15:03 +0200 Subject: Move public auth page over Now this is in core so the basics (that 99% of the app will want to use) looks always the same. Signed-off-by: Roeland Jago Douma --- core/js/publicshareauth.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 core/js/publicshareauth.js (limited to 'core/js') diff --git a/core/js/publicshareauth.js b/core/js/publicshareauth.js new file mode 100644 index 00000000000..7f3f0d0a7d4 --- /dev/null +++ b/core/js/publicshareauth.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); + } + }); +}); -- cgit v1.2.3