Stumbled upon this bug recently in the latest moodle 2.3dev.
I turned off AJAX from my profile and visited a course, but still the page loaded the AJAX features(module movement, section movement etc).
So basically, the profile AJAX setting has no effect..
Steps to reproduce:
1. Login as teacher (example: qa.moodle.net)
2. Edit profile
4. Go to any course
5. Turn on editing