Skip to content

Commit

Permalink
Issue #477: Edit Relations to Other Signs and to Edit Relations to Fo…
Browse files Browse the repository at this point in the history
…reign Signs now stay open.
  • Loading branch information
susanodd committed Aug 2, 2018
1 parent 49424e9 commit a310e9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions media/js/gloss_edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,7 @@ function update_foreign_delete(change_summary)
var search_id = 'foreign_' + deleted_relation_id;
$(document.getElementById(search_id)).replaceWith("<tr id='" + search_id + "' class='empty_row' style='display: none;'>" + "</tr>");
$(this).html('');
$('#relationsforeign').addClass('in');
}

function update_relation_delete(change_summary)
Expand All @@ -652,6 +653,7 @@ function update_relation_delete(change_summary)
var search_id = 'row_' + deleted_relation_id;
$(document.getElementById(search_id)).replaceWith("<tr id='" + search_id + "' class='empty_row' style='display: none;'>" + "</tr>");
$(this).html('');
$('#relations').addClass('in');
}

function getCookie(name) {
Expand Down

0 comments on commit a310e9d

Please sign in to comment.