Fixed bug with _rels

This commit is contained in:
Eric Wood 2012-10-29 16:11:52 -05:00
parent e33387a1b9
commit 3db2bc2482
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ excelParser = {
handleSheet: function(entries, stringTable) {
// filter out all files that aren't worksheets
var sheets = $.grep(entries, function(n,i) {
return /^xl\/worksheets\//.test(n.filename);
return (/^xl\/worksheets\/.*\.xml$/.test(n.filename)) && (!/^xl\/worksheets\/_rels/.test(n.filename));
});
// for now, only process the first sheet