Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'MDL-29239_m20' of git://github.com/rwijaya/moodle into …

…MOODLE_20_STABLE
  • Loading branch information...
commit 91af0d84312e1f9450fb69788281f61a6b6f6559 2 parents 06f9aec + 1b87553
Sam Hemelryk samhemelryk authored
Showing with 10 additions and 1 deletion.
  1. +10 −1 lib/form/editor.php
11 lib/form/editor.php
View
@@ -58,7 +58,7 @@ function setValue($values) {
}
function getValue() {
- return $this->getAttribute('value');
+ return $this->_values;
}
function getMaxbytes() {
@@ -276,4 +276,13 @@ function toHtml() {
return $str;
}
+ /**
+ * What to display when element is frozen.
+ *
+ * @return empty string
+ */
+ function getFrozenHtml() {
+
+ return '';
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.