Fix style of injected combo to select variant
This commit is contained in:
parent
b80de4aeaf
commit
85357a34c8
@ -2022,7 +2022,7 @@ class Form
|
|||||||
return;
|
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", {
|
jQuery.getJSON("'.DOL_URL_ROOT.'/variants/ajax/getCombinations.php", {
|
||||||
id: jQuery(this).val()
|
id: jQuery(this).val()
|
||||||
@ -2040,8 +2040,7 @@ class Form
|
|||||||
span.append(
|
span.append(
|
||||||
jQuery(document.createElement(\'div\')).text(val.label).css({
|
jQuery(document.createElement(\'div\')).text(val.label).css({
|
||||||
\'font-weight\': \'bold\',
|
\'font-weight\': \'bold\',
|
||||||
\'display\': \'table-cell\',
|
\'display\': \'table-cell\'
|
||||||
\'text-align\': \'right\'
|
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user