Home
Documentation
Downloads
Demo
Tracker
Development
Translation
Moodle.net
Search
projects
/
moodle.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97d00c9
)
MDL-30843 editor: Fixed up out of place if
author
Sam Hemelryk
<sam@moodle.com>
Tue, 10 Apr 2012 21:22:14 +0000
(09:22 +1200)
committer
Sam Hemelryk
<sam@moodle.com>
Tue, 10 Apr 2012 21:22:14 +0000
(09:22 +1200)
lib/form/editor.php
patch
|
blob
|
blame
|
history
diff --git
a/lib/form/editor.php
b/lib/form/editor.php
index
991da8e
..
28e0eb4
100644
(file)
--- a/
lib/form/editor.php
+++ b/
lib/form/editor.php
@@
-354,7
+354,7
@@
class MoodleQuickForm_editor extends HTML_QuickForm_element {
$editorrules = ' onblur="'.htmlspecialchars($this->getAttribute('onblur')).'" onchange="'.htmlspecialchars($this->getAttribute('onchange')).'"';
}
$str .= '<div><textarea id="'.$id.'" name="'.$elname.'[text]" rows="'.$rows.'" cols="'.$cols.'"'.$editorrules.'>';
- $str .= s($text);
if (count($formats)>1) {
+ $str .= s($text);
$str .= '</textarea></div>';
$str .= '<div>';
@@
-408,4
+408,4
@@
class MoodleQuickForm_editor extends HTML_QuickForm_element {
return '';
}
-}
\ No newline at end of file
+}