[Pkg-owncloud-commits] [owncloud] 03/03: Fix missing menu on file hover
David Prévot
taffit at alioth.debian.org
Sat Nov 9 23:41:09 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository owncloud.
commit 6bb270f39f17aba982eb4e12c579f1d3e2788ac5
Author: David Prévot <taffit at debian.org>
Date: Sat Nov 9 19:20:32 2013 -0400
Fix missing menu on file hover
---
debian/patches/0019-Fixed-totalDirs-JS-error.patch | 26 ++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 27 insertions(+)
diff --git a/debian/patches/0019-Fixed-totalDirs-JS-error.patch b/debian/patches/0019-Fixed-totalDirs-JS-error.patch
new file mode 100644
index 0000000..d58bc52
--- /dev/null
+++ b/debian/patches/0019-Fixed-totalDirs-JS-error.patch
@@ -0,0 +1,26 @@
+From: Vincent Petry <pvince81 at owncloud.com>
+Date: Thu, 7 Nov 2013 10:11:18 +0100
+Subject: Fixed totalDirs JS error
+
+---
+ apps/files/js/filelist.js | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
+index f11cba6..24a7fd2 100644
+--- a/apps/files/js/filelist.js
++++ b/apps/files/js/filelist.js
+@@ -600,11 +600,11 @@ var FileList={
+ var $connector = $summary.find('.connector');
+
+ // Show only what's necessary, e.g.: no files: don't show "0 files"
+- if (totalDirs === 0) {
++ if (summary.totalDirs === 0) {
+ $dirInfo.hide();
+ $connector.hide();
+ }
+- if (totalFiles === 0) {
++ if (summary.totalFiles === 0) {
+ $fileInfo.hide();
+ $connector.hide();
+ }
diff --git a/debian/patches/series b/debian/patches/series
index 9f14ad8..731f5e8 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -16,3 +16,4 @@ path/0015-Adapt-google-api-php-client-path.patch
path/0016-Adapt-Dropbox-path.patch
path/0017-Adapt-php-opencloud-path.patch
path/0018-Adapt-Zend-path.patch
+0019-Fixed-totalDirs-JS-error.patch
--
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