Helpviewer/HelpBrowserWV.py

changeset 539
87f9bce38a44
parent 538
7f1a56e80124
child 541
00e1a5d060c5
equal deleted inserted replaced
538:7f1a56e80124 539:87f9bce38a44
877 formElement.attribute("action") == "": 877 formElement.attribute("action") == "":
878 return 878 return
879 879
880 method = formElement.attribute("method", "get").lower() 880 method = formElement.attribute("method", "get").lower()
881 if method != "get": 881 if method != "get":
882 QMessageBox.warning(self, 882 E5MessageBox.warning(self,
883 self.trUtf8("Method not supported"), 883 self.trUtf8("Method not supported"),
884 self.trUtf8("""{0} method is not supported.""").format(method.upper())) 884 self.trUtf8("""{0} method is not supported.""").format(method.upper()))
885 return 885 return
886 886
887 searchUrl = QUrl(self.page().mainFrame().baseUrl().resolved( 887 searchUrl = QUrl(self.page().mainFrame().baseUrl().resolved(

eric ide

mercurial