mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-08 07:00:54 +03:00
return false from form submit handlers
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user