Skip to content

Commit

Permalink
Merge branch 'wip-MDL-47583-m27' of git://github.com/marinaglancy/moo…
Browse files Browse the repository at this point in the history
…dle into MOODLE_27_STABLE
  • Loading branch information
Damyon Wiese committed Oct 15, 2014
2 parents 450e3f2 + a881280 commit f6b9c0f
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ M.atto_managefiles.usedfiles = M.atto_managefiles.usedfiles || {
usedFiles = {};

while ((match = pattern.exec(content.get('innerHTML'))) !== null) {
filename = unescape(match[1]);
filename = decodeURI(match[1]);
usedFiles[filename] = true;
}

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ M.atto_managefiles.usedfiles = M.atto_managefiles.usedfiles || {
usedFiles = {};

while ((match = pattern.exec(content.get('innerHTML'))) !== null) {
filename = unescape(match[1]);
filename = decodeURI(match[1]);
usedFiles[filename] = true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ M.atto_managefiles.usedfiles = M.atto_managefiles.usedfiles || {
usedFiles = {};

while ((match = pattern.exec(content.get('innerHTML'))) !== null) {
filename = unescape(match[1]);
filename = decodeURI(match[1]);
usedFiles[filename] = true;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
patt = new RegExp(base.replace(/[-\/\\^$*+?.()|[\]{}]/g, '\\$&') + "(.+?)[\\?\"']", 'gm'),
arr = [], match, filename;
while ((match = patt.exec(text)) !== null) {
filename = unescape(match[1]);
filename = decodeURI(match[1]);
if (arr.indexOf(filename) === -1) {
arr[arr.length] = filename;
}
Expand Down

0 comments on commit f6b9c0f

Please sign in to comment.