Skip to content

Commit 84ff021

Browse files
committed
Just a little check to see if we are editing a liaison. Fixes ietf-tools#581
- Legacy-Id: 2814
1 parent 78fe9ea commit 84ff021

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

static/js/liaisons.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,9 @@
207207
var updateInfo = function() {
208208
var entity = organization;
209209
var to_entity = from;
210+
if (!entity.is('select') || !to_entity.is('select')) {
211+
return false;
212+
}
210213
var url = config.info_update_url;
211214
$.ajax({
212215
url: url,

0 commit comments

Comments
 (0)