MDL-31590 Correct title of error dialogue on filepicker

Thanks to Gilles-Philippe Leblanc for this patch
This commit is contained in:
Andrew Robert Nicols 2012-02-14 15:35:13 +00:00
parent 5fc420e2ed
commit 1628fd3bb5

View File

@ -311,7 +311,7 @@ M.core_filepicker.init = function(Y, options) {
if (type=='error') {
header = M.str.moodle.error;
}
this.msg_dlg.setHeader(type);
this.msg_dlg.setHeader(header);
this.msg_dlg.show();
},
build_tree: function(node, level) {