Ajax request for a php file returns both OnCompleted and OnError triggers
Attach a Capx
https://www.dropbox.com/s/ew45o51qaa25d ... .capx?dl=0
Description of Capx
Ajax request for a php file returns both OnCompleted and OnError triggers.
The call itself works (you can check it here: https://www.app.insanenumbers.com/Insan ... erid=12112).
It returns a string "newuser".
Steps to Reproduce Bug
Just open the project in debug mode, it inmediatle calls the ajax request on start of layout.
Both variables sPrueba3 and sPrueba4 are 1, and you can see that each one is set on a separate triggers, whichs means that both triggers are called.
It should only return one trigger, either the ajax was OK or NO, but not both.
It only happens in Chrome and Internet Explorer, in firefox is all OK.
- Chrome: (YES)
- FireFox: (NO)
- I.E: (YES)[/
Operating System and Service Pack
Windows 7 Ultimate Service Pack 1
Construct 2 Version ID