[BUG #7663] Replaced triggerEvent with doFocus