Permalink
Browse files

FILEPICKER MDL-26583 filepicker should use core language string not s…

…tring from modules
  • Loading branch information...
dcai committed Mar 9, 2011
1 parent c096042 commit a6b53a7cbeed048068c908c01cea44147c37e559
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/outputrequirementslib.php
  2. +1 −1 repository/filepicker.js
@@ -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')
View
@@ -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

0 comments on commit a6b53a7

Please sign in to comment.