MDL-29239 fixed edit course setting for moodle/course:changesummary permission is set to prevent.

This commit is contained in:
Rossiani Wijaya
2011-12-12 15:52:13 +08:00
parent f89a83b87b
commit 8367651ee4
+10 -1
View File
@@ -58,7 +58,7 @@ class MoodleQuickForm_editor extends HTML_QuickForm_element {
}
function getValue() {
return $this->getAttribute('value');
return $this->_values;
}
function getMaxbytes() {
@@ -276,4 +276,13 @@ class MoodleQuickForm_editor extends HTML_QuickForm_element {
return $str;
}
/**
* What to display when element is frozen.
*
* @return empty string
*/
function getFrozenHtml() {
return '';
}
}