[Pkg-owncloud-commits] [owncloud] 34/42: change publicUploadButtonMock to public_upload
David Prévot
taffit at moszumanska.debian.org
Wed Jan 22 21:21:50 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 5f7bc2cf4d4186b0a4f9f458dd542f3a746512df
Author: Myles McNamara <myles at smyl.es>
Date: Mon Jan 20 11:58:01 2014 -0500
change publicUploadButtonMock to public_upload
Changed jQuery selector for public preview to public_upload to correctly show preview
---
apps/files/js/files.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/files/js/files.js b/apps/files/js/files.js
index dc7e893..76ac87d 100644
--- a/apps/files/js/files.js
+++ b/apps/files/js/files.js
@@ -720,7 +720,7 @@ Files.lazyLoadPreview = function(path, mime, ready, width, height, etag) {
console.warn('Files.lazyLoadPreview(): missing etag argument');
}
- if ( $('#publicUploadButtonMock').length ) {
+ if ( $('#public_upload').length ) {
urlSpec.t = $('#dirToken').val();
previewURL = OC.Router.generate('core_ajax_public_preview', urlSpec);
} else {
--
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