Homec4science

BibEdit: make AJAX calls synchronous

Authored by Javier Martin <javier.martin.montull@cern.ch> on Oct 19 2011, 11:22.

Description

BibEdit: make AJAX calls synchronous

  • Currently, AJAX calls are executed asynchronously but a check is made on the server to keep order of modifications. An error occurs if two modifications are made fast in the user interface and the second one reaches the server before the response for the first one has been received in the client side.
  • Change AJAX parameter async to false in most of the calls to avoid these kind of errors.
  • Tests on large number of operations and big records seem to indicate that loss of performance is not perceivable

Details

Committed
Tibor Simko <tibor.simko@cern.ch>Nov 22 2011, 17:51
Parents
R3600:43a3db2074fd: BibEdit: add revision info and css refactoring
Branches
Unknown
Tags
Unknown

Event Timeline

Tibor Simko <tibor.simko@cern.ch> committed R3600:f0815f86c475: BibEdit: make AJAX calls synchronous (authored by Javier Martin <javier.martin.montull@cern.ch>).Nov 22 2011, 17:51