Changeset 14164

Show
Ignore:
Timestamp:
06/26/08 10:30:24 (5 months ago)
Author:
doughays
Message:

Fixes #6220. Set IE INPUT fontFamily using STYLE.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/form/ValidationTextBox.js

    r14142 r14164  
    192192                        } // should never be here unless the original RE is bad or the parsing is bad 
    193193                        this._partialre = "^(?:" + partialre + ")$"; 
     194                }, 
     195 
     196                postCreate: function(){ 
     197                        if(dojo.isIE){ // IE INPUT tag fontFamily has to be set directly using STYLE 
     198                                var s = dojo.getComputedStyle(this.focusNode); 
     199                                if(s){ 
     200                                        var ff = s.fontFamily; 
     201                                        if(ff){ 
     202                                                this.focusNode.style.fontFamily = ff; 
     203                                        } 
     204                                } 
     205                        } 
     206                        this.inherited(arguments); 
    194207                } 
    195208        }