Author: [EMAIL PROTECTED] Date: Wed Oct 15 11:31:32 2008 New Revision: 3761
Modified: branches/oophm/user/src/com/google/gwt/dom/client/Element.java Log: Merge in fix for failing tests from 1.5/trunk. Modified: branches/oophm/user/src/com/google/gwt/dom/client/Element.java ============================================================================== --- branches/oophm/user/src/com/google/gwt/dom/client/Element.java (original) +++ branches/oophm/user/src/com/google/gwt/dom/client/Element.java Wed Oct 15 11:31:32 2008 @@ -56,10 +56,7 @@ * does not have a specified or default value */ public final native String getAttribute(String name) /*-{ - var result = this.getAttribute(name); - // BUILD FIX HACK: must coerce to String for IE. - // ON MERGE: use a jgw fix from trunk instead of this! - return (result == null) ? null : String(result); + return this.getAttribute(name) || ''; }-*/; /** --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/Google-Web-Toolkit-Contributors -~----------~----~----~----~------~----~------~--~---