Do nothing special if we have no detailed info that filters the To field trough the From field. Fixes #577

- Legacy-Id: 2791
This commit is contained in:
Emilio A. Sánchez López 2011-02-02 14:53:49 +00:00
parent fb7b3d2152
commit 4dc753329f

View file

@ -319,6 +319,10 @@
var checkFrom = function() {
var reduce_options = form.find('.reducedToOptions');
if (!reduce_options.length) {
updateInfo();
return;
}
var to_select = organization;
var from_entity = from.val();
if (!reduce_options.find('.full_power_on_' + from_entity).length) {