Skip to content

Commit

Permalink
MDL-65794 core: use langrev as the cache key when getting strings
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjnelson committed Jul 16, 2019
1 parent f88e607 commit 76669f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/amd/build/str.min.js

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

2 changes: 1 addition & 1 deletion lib/amd/src/str.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ define(['jquery', 'core/ajax', 'core/localstorage'], function($, ajax, storage)

// Everything might already be queued so we need to check if we have real ajax requests to run.
if (ajaxrequests.length > 0) {
ajax.call(ajaxrequests, true, false);
ajax.call(ajaxrequests, true, false, false, 0, M.cfg.langrev);
}

$.when.apply(null, fetchpromises).done(
Expand Down

0 comments on commit 76669f0

Please sign in to comment.