Just a little check to see if we are editing a liaison. Fixes #581

- Legacy-Id: 2814
This commit is contained in:
Emilio A. Sánchez López 2011-02-04 13:05:29 +00:00
parent 78fe9ea533
commit 84ff021cb7

View file

@ -207,6 +207,9 @@
var updateInfo = function() {
var entity = organization;
var to_entity = from;
if (!entity.is('select') || !to_entity.is('select')) {
return false;
}
var url = config.info_update_url;
$.ajax({
url: url,