diff options
Diffstat (limited to 'views/order/view_customerdata.phtml')
| -rw-r--r-- | views/order/view_customerdata.phtml | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/views/order/view_customerdata.phtml b/views/order/view_customerdata.phtml index ffeb354..c63825a 100644 --- a/views/order/view_customerdata.phtml +++ b/views/order/view_customerdata.phtml @@ -45,7 +45,8 @@ <?php if ($this->hasMod('wpsg_mod_shippingadress')) {?>
<?php echo wpsg_drawForm_Checkbox('dialog_shipping', __('Auch Lieferanschrift anpassen', 'wpsg'), false, array('help' => 'dialog_shipping')); ?>
<?php } ?>
-
+ <input type="hidden" id="dialog_change_land" name="dialog_change_land" />
+
</div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal"><?php echo __('Schließen', 'wpsg'); ?></button>
@@ -114,7 +115,8 @@ },
success: function(data) {
- location.href = location.href;
+ //location.href = location.href;
+ location.reload();
}
} );
@@ -123,6 +125,17 @@ }
+ jQuery(document).ready(function() {
+
+ jQuery('#dialog_land').bind('change', function() {
+
+ jQuery('#dialog_change_land').val('1');
+
+ } );
+
+ } );
+
+
/* ]]> */</script>
<?php echo wpsg_drawForm_AdminboxEnd(); ?>
|
