Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Trivial
-
Resolution: Fixed
-
Affects Version/s: 2.1.4
-
Testing Instructions:
-
Workaround:
-
Difficulty:Easy
-
Affected Branches:MOODLE_21_STABLE
-
Fixed Branches:MOODLE_21_STABLE, MOODLE_22_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-31590-master-1
Description
Currently, the header of the dialog box uses the wrong variable in the javascript:
repository/filepicker.js |
var header = M.str.moodle.info;
|
if (type=='error') {
|
header = M.str.moodle.error;
|
}
|
this.msg_dlg.setHeader(type);
|
it should use the variable "header", not type in the setHeader() at line 314 for the version 2.2.1:
repository/filepicker.js |
var header = M.str.moodle.info;
|
if (type=='error') {
|
header = M.str.moodle.error;
|
}
|
this.msg_dlg.setHeader(header);
|