Skip to content

Commit

Permalink
Merge branch 'MDL-29239' of git://github.com/rwijaya/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Hemelryk committed Dec 21, 2011
2 parents aaee11b + 8367651 commit cc688de
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lib/form/editor.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ function setValue($values) {
}

function getValue() {
return $this->getAttribute('value');
return $this->_values;
}

function getMaxbytes() {
Expand Down Expand Up @@ -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 cc688de

Please sign in to comment.