Skip to content
Code-Schnipsel Gruppen Projekte
Commit a5bbd324 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

Merge branch 'next-2.x' into 'main'

Next 2.x

See merge request !40
Übergeordnete 39430fc5 12375241
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
2 Merge Requests!40Next 2.x,!33Update 'next-3.x' with latest changes from 'main'
Pipeline-Nr. 12265 mit Warnungen bestanden
......@@ -455,7 +455,23 @@ define('package/quiqqer/order-simple-checkout/bin/frontend/controls/SimpleChecko
this.Loader.show();
return this.update().then(() => {
// check country, because input country is not focusable
if (typeof this.$Form.elements.country !== 'undefined') {
const Countries = QUI.Controls.getById(this.$Form.elements.country.get('data-quiid'));
if (this.$Form.elements.country.value === '') {
this.$Form.elements.country.value = Countries.getValue();
}
if (this.$Form.elements.country.value === '') {
Countries.focus();
this.Loader.hide();
return;
}
}
if (!this.$Form.reportValidity()) {
this.Loader.hide();
return;
}
......
......@@ -5,17 +5,7 @@ parameters:
count: 1
path: ajax/frontend/update.php
-
message: "#^Parameter \\#1 \\$PermissionUser of method QUI\\\\ERP\\\\Order\\\\Order\\:\\:save\\(\\) expects null, QUI\\\\Users\\\\SystemUser given\\.$#"
count: 1
path: src/QUI/ERP/Order/SimpleCheckout/Checkout.php
-
message: "#^Instantiated class QUI\\\\ERP\\\\Shipping\\\\Order\\\\Shipping not found\\.$#"
count: 1
path: src/QUI/ERP/Order/SimpleCheckout/Steps/CheckoutShipping.php
-
message: "#^Class QUI\\\\Database\\\\Exception referenced with incorrect case\\: QUI\\\\DataBase\\\\Exception\\.$#"
count: 1
path: types/simpleCheckout.php
......@@ -19,7 +19,7 @@
$Engine->assign([
'Checkout' => $Checkout
]);
} catch (QUI\DataBase\Exception $Exception) {
} catch (QUI\Database\Exception $Exception) {
$ExceptionReplacement = new QUI\Exception(['quiqqer/quiqqer', 'exception.error']);
QUI\System\Log::writeException($Exception);
......
0% Lade oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren