[-] BO : fix css for iframe of custom products when creating order in BO

This commit is contained in:
gRoussac
2013-01-23 18:38:00 +01:00
parent f81e0c51fa
commit 7d1e6d993d
2 changed files with 11 additions and 1 deletions
@@ -42,6 +42,7 @@
defaults_order_state['{$module}'] = '{$id_order_state}';
{/foreach}
$(document).ready(function() {
$('#customer').typeWatch({
captureLength: 1,
highlight: true,
@@ -597,7 +598,11 @@
});
products_found += '</select>';
$('#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);
display_product_attributes();
display_product_customizations();
+5
View File
@@ -2384,3 +2384,8 @@ margin-bottom:7px;
margin-left:30px;
list-style-type:disc;
}
.id_customization .customization_field {
min-width: 205px;
width: 205px;
}