Permalink
Browse files

Fix issues related to comments

  • Loading branch information...
1 parent 05cf3b0 commit 1bedab4651f0c4bfe6c8b14448f5240e6eda76ae @gjtorikian gjtorikian committed Jun 3, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 lib/DAV/plugins/filelist.js
  2. +1 −1 lib/DAV/util.js
@@ -92,8 +92,8 @@ jsDAV_Filelist_Plugin.FIND_CMD = GnuTools.FIND_CMD;
//Hidden Files
if (options.showHiddenFiles == "1")
args.push("!", "-regex", "\\/\\.[^\\/]*$");
-
- if (options.maxdepth)
+
+ if (options.maxdepth)
args.push("-maxdepth", options.maxdepth);
excludeExtensions.forEach(function(pattern){
View
@@ -418,7 +418,7 @@ exports.toClarkNotation = function(dom) {
// Mapping back to the real namespace, in case it was dav
var ns = dom.namespaceURI == "urn:DAV" ? "DAV:" : dom.namespaceURI;
// Mapping to clark notation
- return "{" + ns + "}" + dom.tagName.toLowerCase().replace("d:", "");
+ return "{" + ns + "}" + dom.localName.toLowerCase();
};
/**

0 comments on commit 1bedab4

Please sign in to comment.