[Pkg-owncloud-commits] [owncloud] 111/223: Improve detection of whether we're in the files app
David Prévot
taffit at moszumanska.debian.org
Sun Jun 22 01:54:13 UTC 2014
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 30f5b2bd7cdb9dde211dd0d897f798190c8d3947
Author: Robin Appelman <icewind at owncloud.com>
Date: Mon May 19 15:39:14 2014 +0200
Improve detection of whether we're in the files app
---
apps/files_sharing/js/external.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/files_sharing/js/external.js b/apps/files_sharing/js/external.js
index 1e46b35..5e133db 100644
--- a/apps/files_sharing/js/external.js
+++ b/apps/files_sharing/js/external.js
@@ -37,7 +37,7 @@ $(document).ready(function () {
}
};
- if (window.FileList && window.FileList.appName === 'Files') {// only run in the files app
+ if (OCA.Files) {// only run in the files app
var hash = location.hash;
location.hash = '';
var remote = getParameterByName(hash, 'remote');
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git
More information about the Pkg-owncloud-commits
mailing list