Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit operation implementation #8

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
refactoring
  • Loading branch information
Melidiana committed Mar 22, 2023
commit d1798a39b6471d4244227ac672611eaac474e712
2 changes: 1 addition & 1 deletion src/main/webapp/html/my.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,6 @@ <h1>Create new account:</h1>
<option value="true">true</option>
</select>
</div>
<button id="save-button">Save</button>
<button class="save-btn">Save</button>
</body>
</html>
1 change: 0 additions & 1 deletion src/main/webapp/script/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ $(document).ready(function () {
$(this).closest('tr').find('.btn-delete').toggle();

const row = $(this).closest('tr');
const id = row.attr('data-id');
const name = row.find('.name').text();
const title = row.find('.title').text();
const race = row.find('.race').text();
Expand Down