// Fix bugs on Admin Orders

This commit is contained in:
rGaillard
2012-02-17 17:37:04 +00:00
parent 801dc04dac
commit ef69ac9925
4 changed files with 15 additions and 6 deletions

View File

@@ -210,7 +210,11 @@
function resetBind()
{
$('.fancybox').fancybox();
$('.fancybox').fancybox({
'type': 'iframe',
'width': '50%',
'height': '100%'
});
/*$("#new_address").fancybox({
onClosed: useCart(id_cart)
});*/

View File

@@ -39,7 +39,7 @@
form_datas[this.name] = this.value;
});
$.each(form_selects, function() {
form_datas[this.name] = this.options.selectedIndex;
form_datas[this.name] = this[this.options.selectedIndex].value;
});
$.ajax({
type: this.method,
@@ -49,7 +49,7 @@
data : form_datas,
success : function(res)
{
$('#fancybox-content').html(res);
$('html').html(res);
}
});
});