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

fix: #121

Übergeordneter 8753f9e6
Keine zugehörigen Branchen gefunden
Keine zugehörigen Tags gefunden
Keine zugehörigen Merge Requests gefunden
......@@ -756,6 +756,10 @@ define('package/quiqqer/order/bin/frontend/controls/OrderProcess', [
continue;
}
if (Field.getStyle('display') === 'none') {
continue;
}
if (Field.checkValidity()) {
continue;
}
......
......@@ -369,6 +369,9 @@ define('package/quiqqer/order/bin/frontend/controls/orderProcess/CustomerData',
position: 'relative'
};
VatId.getElement('input').setStyle('display', null);
Company.getElement('input').setStyle('display', null);
Company.setStyles(styles);
VatId.setStyles(styles);
......@@ -389,7 +392,14 @@ define('package/quiqqer/order/bin/frontend/controls/orderProcess/CustomerData',
padding: 0,
opacity: 0
}, {
duration: 250
duration: 250,
callback: function () {
VatId.getElement('input').setStyle('display', 'none');
Company.getElement('input').setStyle('display', 'none');
VatId.setStyle('display', 'none');
Company.setStyle('display', 'none');
}
});
}
......@@ -483,6 +493,10 @@ define('package/quiqqer/order/bin/frontend/controls/orderProcess/CustomerData',
for (i = 0, len = Required.length; i < len; i++) {
Field = Required[i];
if (Field.getStyle('display') === 'none') {
continue;
}
if (!("checkValidity" in Field)) {
continue;
}
......
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