mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-29 03:52:26 +01:00
Minor substring completion changes.
This commit is contained in:
@@ -740,18 +740,18 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
||||
if (params.mimeType)
|
||||
xmlhttp.overrideMimeType(params.mimeType);
|
||||
|
||||
if (params.responseType)
|
||||
xmlhttp.responseType = params.responseType;
|
||||
|
||||
xmlhttp.open(params.method || "GET", url, async,
|
||||
params.user, params.pass);
|
||||
|
||||
if (params.responseType)
|
||||
xmlhttp.responseType = params.responseType;
|
||||
|
||||
xmlhttp.send(params.data);
|
||||
return xmlhttp;
|
||||
}
|
||||
catch (e) {
|
||||
if (!params.quiet)
|
||||
util.dactyl.log(_("error.cantOpen", String.quote(url), e), 1);
|
||||
util.reportError(e);
|
||||
return null;
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user