prototype: 1.5.1_rc1: Fix readAttribute for IE7.
This commit is contained in:
parent
94cfdd3e47
commit
811fb86286
@ -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]
|
||||
|
2
Rakefile
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]
|
||||
|
||||
|
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user