Changeset 1129

Show
Ignore:
Timestamp:
2008-11-04 23:13:30 (2 months ago)
Author:
MaierMan
Message:

* close not handled correctly
* didn't get the error message correctly

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/chrome/content/dta/manager/metalinker.js

    r1108 r1129  
    290290                        Debug.log("Metalinker::handleDownload", ex);                     
    291291                        if (!(ex instanceof Error)) { 
    292                                 ex = new Error(_('mlerror', [ex.error])); 
     292                                ex = new Error(_('mlerror', [ex.message ? ex.message : (ex.error ? ex.error : ex.toString())])); 
    293293                        } 
    294294                        if (ex instanceof Error) { 
  • trunk/chrome/content/dta/manager/metaselect.xul

    r1048 r1129  
    5858        id="metaselect" 
    5959        persist="width height" 
     60        onclose="Metalinker.cancel();" 
    6061> 
    6162        <script type="application/x-javascript" src="chrome://dta/content/common/overlayFunctions.js" /> 
     
    9293                                                <hbox id="boxPublisher"> 
    9394                                                        <label value="&publisher;"/> 
    94                                                         <description id="publisher" class="link" onclick="Metalinker.openLink(this);"/> 
     95                                                        <description id="publisher" class="text-link" onclick="Metalinker.openLink(this);"/> 
    9596                                                </hbox> 
    9697                                                <hbox id="boxLicense"> 
    9798                                                        <label value="&license;"/> 
    98                                                         <description id="license" class="link" onclick="Metalinker.openLink(this);"/> 
     99                                                        <description id="license" class="text-link" onclick="Metalinker.openLink(this);"/> 
    99100                                                </hbox> 
    100101                                        </row>