JS events and 10.2

FRW

Well-known member
A bit of confusing; has anything changed with JS events in 10.2?

Doing a test in custom_function.js:
[pre]
function dadabik_test(field){
alert ('Test');
}
[/pre]

And for the field in JS event functions: onblur:dadabik_test - Leaving the field and nothing happens.
Doing the same in 10.1 (same app for testing in another folder): All seems clear, alert is shown
 

eugenio

Administrator
Staff member
Hello,
I am not aware of any bug related to javascript events and if I test your function on a 10.2 installation everything seems to work.

You should check your javascript console to see if there is any error; maybe you changed something in header.php?

Best,
 

FRW

Well-known member
All fine,
I've done a fresh upgrade and find out, that I had changed the /include/select2/select2.min.js (To translate the searchfriendly ajax-box to german). Update this file to new and all went well.

Thank you!
 
Top