Skip to content

Commit

Permalink
Moved delete button from panel to table div (onclick handler didn't w…
Browse files Browse the repository at this point in the history
…ork)
  • Loading branch information
oskopek committed Sep 9, 2014
1 parent 0267984 commit 8b681d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions carcv-webapp/src/main/webapp/app/cartable.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ $(document).ready(function () {

</head>
<body>
<c:if test="${isAdmin}"><button id="deleteButton">Delete selected entries</button></c:if>
<table style="text-align: center;" id="carTable" class="display">
<thead>
<tr>
Expand Down
1 change: 0 additions & 1 deletion carcv-webapp/src/main/webapp/app/index.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
</div>

<div class="leftPanel">
<c:if test="${isAdmin}"><div class="panelItem"><button id="deleteButton">Delete selected entries</button></div></c:if>
<div class="panelItem"><a href="/servlet/Recognize" target="_top">Refresh DB</a></div>
<div class="panelItem"><a href="/app/upload.jsp" target="_top">Upload</a></div>
<div class="panelItem"><a href="/servlet/Logout" target="_top">Log out</a></div>
Expand Down

0 comments on commit 8b681d6

Please sign in to comment.