prototype: Fix missing var in Element#insert. Closes #10838.

This commit is contained in:
Tobie Langel 2008-01-17 16:41:34 +00:00
parent f530309461
commit 7052c5a60c
2 changed files with 3 additions and 1 deletions

View File

@ -1,5 +1,7 @@
*SVN*
* Fix missing "var" in Element#insert. Closes #10838. [Lantash]
* Add Test.Unit.MessageTemplate class. Add flunk, buildMessage and assertBlock methods to Test.Unit.Assertions. Refactor accordingly. [Tobie Langel]
* Remove useless binding in Template#evaluate. [Tobie Langel]

View File

@ -121,7 +121,7 @@ Element.Methods = {
var content, insert, tagName, childNodes;
for (position in insertions) {
for (var position in insertions) {
content = insertions[position];
position = position.toLowerCase();
insert = Element._insertionTranslations[position];