Page 1 of 1

Focus fires twice

PostPosted: 22 May 2015 11:31
by etwoss
Hi

I have added an eventhandler to OnFocus
In code site i see its fired twice if i select a Node , one time with the old key(of the node i was on), and one time with the new key.
Codesite shows the 'nodeKey' value of two tines node focus.
between the two i added the flag

Eric

Re: Focus fires twice

PostPosted: 22 May 2015 12:04
by Alexander Bulei
Hi Eric,

Provide us the simple testcase.
T.I.A

Best Regards.

Re: Focus fires twice

PostPosted: 22 May 2015 15:04
by etwoss
Hi

Done, added Codesite to your Demo in the OnFocus event
You will see codesite write two lines if a node gets focus

Eric

Re: Focus fires twice

PostPosted: 22 May 2015 17:30
by Alexander Bulei
Hi Eric,

No changes on form, btw use OnSelect instead...

Best Regards.

Re: Focus fires twice

PostPosted: 27 May 2015 09:38
by Alexander Bulei
Hi Eric,

Yes, the focus fires twice when request to server, but don't think its a bug, maybe jquery plugin design failure.

Please use OnActivate event, more appropriate than OnFocus event.

Best Regards.