Make the ID of textarea more unique

This commit is contained in:
moodler
2005-03-30 13:32:39 +00:00
parent 36c446cbe8
commit fd9d1ff316
+1 -1
View File
@@ -2859,7 +2859,7 @@ function print_textarea($usehtmleditor, $rows, $cols, $width, $height, $name, $v
}
}
echo '<textarea id="'. $name .'" name="'. $name .'" rows="'. $rows .'" cols="'. $cols .'">';
echo '<textarea id="edit-'. $name .'" name="'. $name .'" rows="'. $rows .'" cols="'. $cols .'">';
p($value);
echo '</textarea>'."\n";
}