1
0
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:
Kris Maglione
2011-10-03 17:46:05 -04:00
parent 24c4acbd38
commit 9d5a2c7670
3 changed files with 10 additions and 9 deletions

View File

@@ -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;
}
},