edx/edx-platform — pull request #4794 by jmclaus (2014-08-12 12:59:55+00:00)
Title: Supply loading_timeout attribute for jsinput tag.

This is an attempt to address a request from MITx regarding the loading timeout in JSInput. The default value of 300 ms doesn't work with these very heavy GWT TEALSim applications in 8.01r. This PR lets an author choose this timeout from the XML, as an attribute of the jsinput tag. If multiple JSInput have this attribute set and are included in a page, the largest value will be retained. The only issue I know of is that pressing on the Check button before the timeout has elapsed will result in a JS error thrown in ```check_save_waitfor``` with the corresponding alert: ```Could not grade your answer. The submission was aborted.```. This is known and deemed acceptable by the developer that issued the request.

@carsongee @pdpinch @terman @stvstnfrd @jinpa @Lyla-Fischer Please have a look.