Skip to content

Commit

Permalink
FILEPICKER MDL-26583 filepicker should use core language string not s…
Browse files Browse the repository at this point in the history
…tring from modules
  • Loading branch information
Dongsheng Cai committed Mar 9, 2011
1 parent c096042 commit a6b53a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/outputrequirementslib.php
Expand Up @@ -411,7 +411,7 @@ protected function find_module($component) {
array('saving', 'repository'), array('search', 'repository'), array('searching', 'repository'), array('size', 'repository'),
array('submit', 'repository'), array('sync', 'repository'), array('title', 'repository'), array('upload', 'repository'),
array('uploading', 'repository'), array('xhtmlerror', 'repository'),
array('xhtml', 'quiz'), array('cancel'), array('chooselicense', 'repository'), array('author', 'repository'),
array('cancel'), array('chooselicense', 'repository'), array('author', 'repository'),
array('ok', 'moodle'), array('error', 'moodle'), array('info', 'moodle'), array('norepositoriesavailable', 'repository'), array('norepositoriesexternalavailable', 'repository'),
array('nofilesattached', 'repository'), array('filepicker', 'repository'),
array('nofilesavailable', 'repository')
Expand Down
2 changes: 1 addition & 1 deletion repository/filepicker.js
Expand Up @@ -812,7 +812,7 @@ M.core_filepicker.init = function(Y, options) {
try {
panel.set('innerHTML', str);
} catch(e) {
alert(e.toString()+M.str.quiz.xhtml);
alert(M.str.repository.xhtmlerror);
}
// register buttons
// process login action
Expand Down

0 comments on commit a6b53a7

Please sign in to comment.