test_video_mongo.py
54.7 KB
-
Remove unnecessary VideoModule save_states. · f9d85e65
Before this commit, roughly half the save_state AJAX calls for the VideoModule were done at load time, in order to send information about YouTube availability (the value for which was almost always true). This commit sends the value for what the LMS already thinks YouTube availability is for this user, so that the AJAX callback is only used in the case where the client side sees something different. [PERF-262]
David Ormsbee committed