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;
|
state.fileInfo.password = password;
|
||||||
emit('getMetadata');
|
emit('getMetadata');
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return div;
|
return div;
|
||||||
|
|
|
@ -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) {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue