// Fix bugs on Admin Orders
This commit is contained in:
@@ -210,7 +210,11 @@
|
||||
|
||||
function resetBind()
|
||||
{
|
||||
$('.fancybox').fancybox();
|
||||
$('.fancybox').fancybox({
|
||||
'type': 'iframe',
|
||||
'width': '50%',
|
||||
'height': '100%'
|
||||
});
|
||||
/*$("#new_address").fancybox({
|
||||
onClosed: useCart(id_cart)
|
||||
});*/
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user