File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
app/design/frontend/base/default/template/customer Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 80
80
<button type="button" onclick="window.location='<?php echo $ this ->getUrl ('customer/address/form ' ) ?> ';" class="button"><span><span><?php echo $ this ->__ ('New Address ' ) ?> </span></span></button>
81
81
</div>
82
82
<script type="text/javascript">
83
+ //<![CDATA[
83
84
function deleteAddress(addressId) {
84
- if(confirm('<?php echo Mage::helper ('core ' )->jsQuoteEscape ($ this ->__ ('Are you sure you want to delete this address? ' )) ?> ')) {
85
- window.location=' <?php echo $ this ->getUrl (" customer/address/delete " ) ?> address/' +addressId;
85
+ if (confirm('<?php echo Mage::helper ('core ' )->jsQuoteEscape ($ this ->__ ('Are you sure you want to delete this address? ' )) ?> ')) {
86
+ window.location=" <?php echo $ this ->getUrl (' customer/address/delete ' ) ?> address/" +addressId;
86
87
}
87
88
return false;
88
89
}
90
+ //]]>
89
91
</script>
Original file line number Diff line number Diff line change 91
91
<script type="text/javascript">
92
92
//<![CDATA[
93
93
function deleteAddress(addressId) {
94
- if(confirm('<?php echo Mage::helper ('core ' )->jsQuoteEscape ($ this ->__ ('Are you sure you want to delete this address? ' )) ?> ')) {
95
- window.location=' <?php echo $ this ->getDeleteUrl () ?> id/' +addressId;
94
+ if (confirm('<?php echo Mage::helper ('core ' )->jsQuoteEscape ($ this ->__ ('Are you sure you want to delete this address? ' )) ?> ')) {
95
+ window.location=" <?php echo $ this ->getDeleteUrl () ?> id/" +addressId;
96
96
}
97
97
return false;
98
98
}
You can’t perform that action at this time.
0 commit comments