owncloud/core — pull request #6223 by PVince81 (2013-12-06 16:26:05+00:00)
Title: Fixed Dropbox/Google storage async save call

When clicking "Grant access", the settings for Dropbox/Google were saved
through a call that gets cancelled when redirecting to the grant page
(for example in Firefox)

This fix makes sure the "save settings" call finished before redirecting
to the grant page.

Fixes #6176

Please review @karlitschek @schiesbn @icewind1991
Please test this branch @ser72