Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

prototype: 1.5.1_rc1: Fix readAttribute for IE7.

  • Loading branch information...
commit 811fb8628683e9936c39b6f33ec7a27f60918768 1 parent 94cfdd3
@sstephenson authored
Showing with 6 additions and 1 deletion.
  1. +4 −0 CHANGELOG
  2. +1 −1  Rakefile
  3. +1 −0  src/dom.js
View
4 CHANGELOG
@@ -1,3 +1,7 @@
+*1.5.1_rc1* (March 9, 2007)
+
+* Fix readAttribute for IE7. [Andrew Dupont]
+
*1.5.1_rc0* (March 8, 2007)
* Merge the selector branch into trunk, bringing vast performance improvements, bug fixes, and near-complete CSS3 compliance to $$ and Selector. Closes #7568. [Andrew Dupont]
View
2  Rakefile
@@ -5,7 +5,7 @@ PROTOTYPE_ROOT = File.expand_path(File.dirname(__FILE__))
PROTOTYPE_SRC_DIR = File.join(PROTOTYPE_ROOT, 'src')
PROTOTYPE_DIST_DIR = File.join(PROTOTYPE_ROOT, 'dist')
PROTOTYPE_PKG_DIR = File.join(PROTOTYPE_ROOT, 'pkg')
-PROTOTYPE_VERSION = '1.5.1_rc0'
+PROTOTYPE_VERSION = '1.5.1_rc1'
task :default => [:dist, :package, :clean_package_source]
View
1  src/dom.js
@@ -214,6 +214,7 @@ Element.Methods = {
readAttribute: function(element, name) {
element = $(element);
if (Prototype.Browser.IE) {
+ if (!element.attributes) return null;
var t = Element._attributeTranslations;
if (t.values[name]) return t.values[name](element, name);
if (t.names[name]) name = t.names[name];
Please sign in to comment.
Something went wrong with that request. Please try again.