2
0
forked from Wavyzz/dolibarr

Fix style of injected combo to select variant

This commit is contained in:
Laurent Destailleur
2021-02-02 13:12:12 +01:00
parent b80de4aeaf
commit 85357a34c8

View File

@@ -2022,7 +2022,7 @@ class Form
return;
}
console.log("After change we get variants");
console.log("A change has started. We get variants fields to inject html select");
jQuery.getJSON("'.DOL_URL_ROOT.'/variants/ajax/getCombinations.php", {
id: jQuery(this).val()
@@ -2040,8 +2040,7 @@ class Form
span.append(
jQuery(document.createElement(\'div\')).text(val.label).css({
\'font-weight\': \'bold\',
\'display\': \'table-cell\',
\'text-align\': \'right\'
\'display\': \'table-cell\'
})
);