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( |