Skip to content

Commit

Permalink
fix up creating new node form in the HTML UI
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer committed Oct 21, 2013
1 parent f80dfc1 commit a2012b6
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 a2012b6

Please sign in to comment.