[Prototype-core] Element.Methods.absolutize throws an error in Proto 1.7rc1

7 views
Skip to first unread message

Viktor Kojouharov

unread,
Apr 21, 2010, 10:05:44 AM4/21/10
to Prototype: Core
Hi,

There's a small typo in the newest rc of prototype, here's the small
diff:

--- a/prototype.js
+++ b/prototype.js
@@ -4779,7 +4779,7 @@ delete Prototype._original_property;
offsetParent.viewportOffset();

var offset = eOffset.relativeTo(pOffset);
- var layout = element.get('layout');
+ var layout = element.getLayout();

element.store('prototype_absolutize_original_styles', {
left: element.getStyle('left'),

--
You received this message because you are subscribed to the Google Groups "Prototype: Core" group.
To post to this group, send email to prototy...@googlegroups.com
To unsubscribe from this group, send email to prototype-cor...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en
Reply all
Reply to author
Forward
0 new messages