Changeset 873

Show
Ignore:
Timestamp:
2008-03-12 00:12:21 (10 months ago)
Author:
MaierMan
Message:

#607: Add more debug output in saveddropdown

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/chrome/content/common/bindings.xml

    r853 r873  
    9999                <implementation> 
    100100                        <constructor><![CDATA[ 
    101                                 this._load(); 
     101                                try { 
     102                                        this._load(); 
     103                                } 
     104                                catch (ex) { 
     105                                        DTA_debug.dump("Loading of saveddropdown failed:", ex); 
     106                                } 
    102107                        ]]></constructor> 
    103108                        <field name="modified">false</field> 
     
    116121                                        try { 
    117122                                                return eval(DTA_preferences.getMultiByteDTA(this._pref, rv)); 
    118                                         } catch (ex) { 
     123                                        } 
     124                                        catch (ex) { 
     125                                                DTA_debug.dump("Cannot initialize from preferences:", ex); 
    119126                                                return eval(rv); 
    120127                                        } 
     
    139146                                         
    140147                                        while (popup.hasChildNodes()) { 
    141                                                 drop.removeChild(popup.lastChild); 
     148                                                popup.removeChild(popup.lastChild); 
    142149                                        } 
    143150