Browse Source

trigger file upload on state change

master
jngrt 10 years ago
parent
commit
0128c61fea
  1. 1
      web/main.js

1
web/main.js

@ -50,6 +50,7 @@ function showNewPhoto(){
document.getElementById('photo-page').style.display = "block"; document.getElementById('photo-page').style.display = "block";
document.getElementById('overview-page').style.display = "none"; document.getElementById('overview-page').style.display = "none";
document.getElementById('message-page').style.display = "none"; document.getElementById('message-page').style.display = "none";
document.getElementById('fileInput').click();
} }
function showNewMessage(){ function showNewMessage(){

Loading…
Cancel
Save