Skip to content

Commit

Permalink
Merge pull request #119 from futures/fix-html-ui
Browse files Browse the repository at this point in the history
fix up creating new node form in the HTML UI
  • Loading branch information
Andrew Woods committed Oct 21, 2013
2 parents 5a8c48d + a2012b6 commit 4efdca8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
Expand Up @@ -10,7 +10,7 @@
</label>
<label>
Identifier
<input type="text" id="new_id" placeholder="fcr:new (auto-generated identifier)"/>
<input type="text" id="new_id" placeholder="(auto-generated identifier)"/>
</label>


Expand Down
9 changes: 1 addition & 8 deletions fcrepo-http-api/src/main/resources/views/common.js
@@ -1,14 +1,7 @@

function addChild()
{
var id;
var userSuppliedId = $("#new_id").val().trim();

if ( userSuppliedId == "") {
id = "fcr:new";
} else {
id = userSuppliedId;
}
var id = $("#new_id").val().trim();

var mixin = $("#new_mixin").val();

Expand Down

0 comments on commit 4efdca8

Please sign in to comment.