Merge pull request #22930 from owncloud/bugfix-submit-disable-password-length-zero
Public link share disabled if password length is equal to 0remotes/origin/design-experiment
commit
290a16e5d7
@ -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);
|
||||
}
|
||||
});
|
||||
});
|
||||
Loading…
Reference in New Issue