return false from form submit handlers
This commit is contained in:
parent
2292267e39
commit
fd6a3a5579
@ -52,6 +52,7 @@ module.exports = function(state, emit) {
|
||||
state.fileInfo.password = password;
|
||||
emit('getMetadata');
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
return div;
|
||||
|
@ -63,6 +63,7 @@ module.exports = function(state, emit) {
|
||||
document.getElementById('copy-btn').disabled = false;
|
||||
emit('password', { password, file });
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
function toggleResetInput(event) {
|
||||
|
@ -63,6 +63,7 @@ module.exports = function(state, emit) {
|
||||
document.getElementById('copy-btn').disabled = false;
|
||||
emit('password', { password, file });
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
return div;
|
||||
|
Loading…
Reference in New Issue
Block a user