$real.val('');
$dummy.val('');
}
- state = STATES.PICKED;
- last_real = $real.val();
- last_dummy = $dummy.val();
- last_unverified_dummy = $dummy.val();
+ state = STATES.PICKED;
+ last_real = $real.val();
+ last_dummy = $dummy.val();
$real.trigger('change');
$real.trigger('set_item:ProjectPicker', item);
} else if (state == STATES.UNDEFINED && $dummy.val() === '')
set_item({})
else {
- last_unverified_dummy = $dummy.val();
set_item({ id: last_real, name: last_dummy })
}
annotate_state();
else if (state == STATES.UNDEFINED && $dummy.val() === '')
$dummy.removeClass(STATES.UNDEFINED).addClass(STATES.PICKED);
else {
- last_unverified_dummy = $dummy.val();
$dummy.addClass(STATES.UNDEFINED).removeClass(STATES.PICKED);
}
}