[Pkg-owncloud-commits] [owncloud] 18/83: fixing js error in case the file name is a number
David Prévot
taffit at moszumanska.debian.org
Wed Dec 18 13:05:25 UTC 2013
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch 5.0
in repository owncloud.
commit 847ad6c40b951cbd3d187e3c72cb55dc3acd6951
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date: Mon Nov 18 15:03:22 2013 +0100
fixing js error in case the file name is a number
---
apps/files/js/filelist.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index fc1ebab..7863903 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -382,7 +382,7 @@ var FileList={
},
filter:function(query) {
$('#fileList tr:not(.summary)').each(function(i,e) {
- if ($(e).data('file').toLowerCase().indexOf(query.toLowerCase()) !== -1) {
+ if ($(e).data('file').toString().toLowerCase().indexOf(query.toLowerCase()) !== -1) {
$(e).addClass("searchresult");
} else {
$(e).removeClass("searchresult");
--
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