[-] BO : fix css for iframe of custom products when creating order in BO
This commit is contained in:
@@ -42,6 +42,7 @@
|
|||||||
defaults_order_state['{$module}'] = '{$id_order_state}';
|
defaults_order_state['{$module}'] = '{$id_order_state}';
|
||||||
{/foreach}
|
{/foreach}
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
|
|
||||||
$('#customer').typeWatch({
|
$('#customer').typeWatch({
|
||||||
captureLength: 1,
|
captureLength: 1,
|
||||||
highlight: true,
|
highlight: true,
|
||||||
@@ -597,7 +598,11 @@
|
|||||||
});
|
});
|
||||||
products_found += '</select>';
|
products_found += '</select>';
|
||||||
$('#products_found #product_list').html(products_found);
|
$('#products_found #product_list').html(products_found);
|
||||||
$('#products_found #attributes_list').html(attributes_html);
|
$('#products_found #attributes_list').html(attributes_html);
|
||||||
|
$('link[rel="stylesheet"]').each(function (i, element) {
|
||||||
|
sheet = $(element).clone();
|
||||||
|
$('#products_found #customization_list').contents().find('head').append(sheet);
|
||||||
|
});
|
||||||
$('#products_found #customization_list').contents().find('body').html(customization_html);
|
$('#products_found #customization_list').contents().find('body').html(customization_html);
|
||||||
display_product_attributes();
|
display_product_attributes();
|
||||||
display_product_customizations();
|
display_product_customizations();
|
||||||
|
|||||||
@@ -2384,3 +2384,8 @@ margin-bottom:7px;
|
|||||||
margin-left:30px;
|
margin-left:30px;
|
||||||
list-style-type:disc;
|
list-style-type:disc;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.id_customization .customization_field {
|
||||||
|
min-width: 205px;
|
||||||
|
width: 205px;
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user