server/core/js
Vincent Petry ad1167a44d Detect user navigating away, don't interpret as ajax error
Whenever a user navigates away, all ajax calls will fail with the same
result like a cross-domain redirect (SSO). To distinguish these cases,
we need to detect whether the error is a result of the user navigating
away. For this, we introduce a new flag that will be set in
"beforeunload".

Additional handling was required for false positives in case "beforeunload" is
used (ex: cancelled upload) and the user cancelled the navigation.
2016-03-22 16:54:01 +01:00
..
files Fix MKCOL for IE11 as well 2016-03-10 13:36:26 +01:00
systemtags Merge pull request #22065 from owncloud/systemtags-create-same-prefix 2016-03-21 11:15:49 +01:00
tests Merge pull request #22065 from owncloud/systemtags-create-same-prefix 2016-03-21 11:15:49 +01:00
apps.js Fix controls bar calculation 2015-08-28 12:23:57 +02:00
backgroundjobs.js add admin documentation hints to Federated Cloud Sharing and cron 2015-04-09 12:07:05 +02:00
compatibility.js Scrutinizer cleanup 2014-06-02 21:09:41 +02:00
config.js Improved Javascript docs for JSDoc 2014-10-31 13:43:30 +01:00
config.php Update author information 2016-03-01 17:25:15 +01:00
core.json Move getDescriptiveTag to core 2016-01-21 15:56:25 +01:00
eventsource.js Encode requesttoken 2015-02-16 20:28:30 +01:00
installation.js load showpassord.js conditionally in the template only if needed 2014-12-16 18:45:37 +01:00
integritycheck-failed-notification.js Add code integrity check 2015-12-01 11:55:20 +01:00
jquery-showpassword.js Shows The Eye permanently in the Confirm Password field in Personal Settings - fix #5167 2013-10-12 12:42:23 +02:00
jquery.avatar.js Show default placeholder if avatar image can't be fetched 2016-01-20 15:18:57 +01:00
jquery.ocdialog.js Resize filepicker on window size change 2015-05-06 11:00:23 +02:00
js.js Detect user navigating away, don't interpret as ajax error 2016-03-22 16:54:01 +01:00
l10n.js Improved JS L10N bundle merging + tests 2016-02-29 17:39:21 +01:00
login.js trigger login if remember_login checked 2016-03-04 00:22:04 +05:30
lostpassword.js Allow specifying a custom reset-password-url 2015-12-07 15:41:40 +01:00
maintenance-check.js Use OC.webroot instead of calculating the URL 2015-05-11 17:01:57 +02:00
mimetype.js Fix icon update to be more consistent 2015-10-29 12:59:51 +01:00
mimetypelist.js Introduce some mimetypes for richdocuments 2016-02-04 13:48:21 +02:00
multiselect.js fix multiselect 2015-09-25 00:51:39 +02:00
oc-backbone-webdav.js Require CSRF token for non WebDAV authenticated requests 2016-02-18 11:18:36 +01:00
oc-backbone.js Backbone transport for Webdav 2016-01-16 11:28:04 +01:00
oc-dialogs.js Since the server no longer calculates the icon 2015-12-24 08:59:32 +01:00
oc-requesttoken.js Do not add sensitive request headers for cross domain requests 2015-09-15 11:42:13 +02:00
octemplate.js Scrutinizer cleanup 2014-06-02 21:09:41 +02:00
placeholder.js [Avatars] Calculate 'sane' hue precissions 2015-12-24 10:50:12 +01:00
placeholders.js move to updated version of placeholder 2014-06-03 16:18:06 +02:00
select2-toggleselect.js Added system tags GUI in sidebar 2016-01-19 16:24:26 +01:00
setup.js Remove remainings of mssql 2015-07-29 18:19:31 +02:00
setupchecks.js Adjust wording a bit 2016-03-11 17:39:35 +01:00
share.js Make file actions use icon CSS classes 2016-02-25 22:49:52 +01:00
shareconfigmodel.js Fix share default expiration date calculation 2016-01-28 15:25:34 +01:00
sharedialogexpirationview.js Share dialog use OCS API 2016-01-28 15:25:34 +01:00
sharedialoglinkshareview.js Update error text for link passwords 2016-03-04 18:11:42 +01:00
sharedialogresharerinfoview.js More unit tests for share dialog 2015-09-16 07:23:29 +02:00
sharedialogshareelistview.js Make more action icons themable + style fixes 2016-02-25 23:01:07 +01:00
sharedialogview.js Tweak tooltip style for recipients 2016-02-25 11:18:30 +01:00
shareitemmodel.js Provide proper feedback when creating a share in the webUI 2016-02-12 14:01:15 +01:00
singleselect.js Do not close container/slider when clicking on single select field 2014-08-15 12:44:00 +02:00
tags.js [tags] remove unneeded variables 2015-10-30 10:02:15 +01:00
update.js Add message with reference to forum post 2016-02-08 10:45:46 +01:00
visitortimezone.js send browsers timezone back tp the server on login 2014-09-22 14:01:45 +02:00