Files are now stored as a hash from a uuid to preserve uniqueness

Server prints out the submitted data
This commit is contained in:
sqozz
2015-02-15 04:51:27 +01:00
parent 4ba2e1168f
commit 9ec244d9f3
4 changed files with 53 additions and 15 deletions

View File

@ -92,6 +92,8 @@ function setButtonToFilename(event) {
// Sets the text of a given dropdown-button to a given value
function setDropdownButtonText(text, dropdownButton) {
var dropdownTextSpan = dropdownButton.getElementsByClassName("text")[0]
dropdownHiddenValue = dropdownButton.getElementsByTagName("input")[0]
dropdownHiddenValue.setAttribute("value", getDescriptorByLocalString("english", text))
dropdownTextSpan.innerHTML = text
}