зеркало из https://github.com/mozilla/pjs.git
241028 - should be able to create smart keywords to forms that use the http POST method.
This commit is contained in:
Родитель
28e19dadac
Коммит
2326b4651d
|
@ -706,6 +706,7 @@
|
|||
<parameter name="aURI"/>
|
||||
<parameter name="aReferrerURI"/>
|
||||
<parameter name="aCharset"/>
|
||||
<parameter name="aPostData"/>
|
||||
<body>
|
||||
<![CDATA[
|
||||
var blank = (aURI == "about:blank");
|
||||
|
@ -762,9 +763,12 @@
|
|||
this.mTabListeners[position] = tabListener;
|
||||
this.mTabFilters[position] = filter;
|
||||
|
||||
if (!blank)
|
||||
if (!blank) {
|
||||
if (aPostData === undefined)
|
||||
aPostData = null;
|
||||
b.loadURIWithFlags(aURI, nsIWebNavigation.LOAD_FLAGS_NONE,
|
||||
aReferrerURI, null, null);
|
||||
aReferrerURI, aPostData, null);
|
||||
}
|
||||
|
||||
return t;
|
||||
]]>
|
||||
|
|
Загрузка…
Ссылка в новой задаче