server/apps/files_sharing/js/authenticate.js

9 lines
249 B
JavaScript

$(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);
}
});
});