зеркало из https://github.com/mozilla/gecko-dev.git
Bug 264607 Form control with name="action" confuses "Add a keyword to this search"
patch by bugzilla@philringnalda.com r=vlad a=asa
This commit is contained in:
Родитель
509fcd98a2
Коммит
02d3dbfd60
|
@ -5590,7 +5590,7 @@ function AddKeywordForSearchField()
|
|||
.getService(Components.interfaces.nsIIOService);
|
||||
var uri = ioService.newURI(node.ownerDocument.URL, node.ownerDocument.characterSet, null);
|
||||
|
||||
var keywordURL = ioService.newURI(node.form.action, node.ownerDocument.characterSet, uri);
|
||||
var keywordURL = ioService.newURI(node.form.getAttribute("action"), node.ownerDocument.characterSet, uri);
|
||||
var spec = keywordURL.spec;
|
||||
var postData = "";
|
||||
var i, e;
|
||||
|
|
Загрузка…
Ссылка в новой задаче