return false from form submit handlers

This commit is contained in:
Danny Coates 2018-02-01 12:49:18 -08:00
parent 2292267e39
commit fd6a3a5579
No known key found for this signature in database
GPG key ID: 4C442633C62E00CB
3 changed files with 3 additions and 0 deletions

View file

@ -52,6 +52,7 @@ module.exports = function(state, emit) {
state.fileInfo.password = password; state.fileInfo.password = password;
emit('getMetadata'); emit('getMetadata');
} }
return false;
} }
return div; return div;

View file

@ -63,6 +63,7 @@ module.exports = function(state, emit) {
document.getElementById('copy-btn').disabled = false; document.getElementById('copy-btn').disabled = false;
emit('password', { password, file }); emit('password', { password, file });
} }
return false;
} }
function toggleResetInput(event) { function toggleResetInput(event) {

View file

@ -63,6 +63,7 @@ module.exports = function(state, emit) {
document.getElementById('copy-btn').disabled = false; document.getElementById('copy-btn').disabled = false;
emit('password', { password, file }); emit('password', { password, file });
} }
return false;
} }
return div; return div;