Skip to content

Commit

Permalink
html-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Jul 4, 2013
1 parent f95ce86 commit b18a493
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -14,9 +14,9 @@
</label>


<label id="datastream_payload">
<label for="datastream_payload">
File
<input type="file" id="update_file"/>
<input type="file" id="datastream_payload"/>
</label>
<button type="submit" class="btn btn-primary">Add</button>
<hr />
Expand Down
2 changes: 1 addition & 1 deletion fcrepo-http-api/src/main/resources/views/common.js
Expand Up @@ -21,7 +21,7 @@ function addChild()
}

if (mixin == "fedora:datastream") {
var update_file = document.getElementById("update_file").files[0];
var update_file = document.getElementById("datastream_payload").files[0];
var reader = new FileReader();
var xhr = new XMLHttpRequest();
xhr.onreadystatechange = function() {
Expand Down

0 comments on commit b18a493

Please sign in to comment.