grazie Xinod per la tua risposta.
In effetti aggiungendo un return false il problema si risolve.

Grazie e buona estate, ric