Permalink
Browse files

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

…MOODLE_22_STABLE
  • Loading branch information...
2 parents db65026 + f08f056 commit 6ff99dde45e9d9153989d5d63ae822148dc21523 Sam Hemelryk committed Dec 21, 2011
Showing with 10 additions and 1 deletion.
  1. +10 −1 lib/form/editor.php
View
11 lib/form/editor.php
@@ -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 '';
+ }
}

0 comments on commit 6ff99dd

Please sign in to comment.