Skip to content

Commit

Permalink
201610110902
Browse files Browse the repository at this point in the history
  • Loading branch information
ling php committed Oct 11, 2016
1 parent b76af90 commit 71b1e67
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 19 deletions.
6 changes: 1 addition & 5 deletions place-order.html
Original file line number Diff line number Diff line change
Expand Up @@ -215,13 +215,9 @@ <h3 class="add">ShippingAddress</h3>
<p><label>E-mail:</label><span>123456789</span></p>
<p><label>Address:</label><span>xinduhui Los Angeles 20010 California United States</span></p>
<p><label>ZIP/Postal Code:</label><span>20010</span>
<<<<<<< HEAD
<a href="data-placeOrderForm.html" class="edit J_edit">Edit<i class="iconfont icon-xiugai"></i></a></p>
</div>
=======

<a href="data-placeOrderForm.html" class="edit J_edit" ><i class="iconfont icon-xiugai"></i>Edit</a></p>
</label>
>>>>>>> origin/master
</div>
<div class="contentd clearfix">
<input type="radio" name="biling_address_id" checked="true" id="address_2" />
Expand Down
14 changes: 0 additions & 14 deletions src/js/place-order.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,12 @@ $(function(){
$('.address_list').delegate('.J_edit','click',function(){
showForm(this);
return false;
<<<<<<< HEAD
=======

>>>>>>> origin/master
});

//save address
$('.J_inner').delegate('button','click',function(e){
<<<<<<< HEAD
saveAdress(this);
});
=======
saveAdress(this);
})
>>>>>>> origin/master

//change country on shipping address
$('.J_country').on('change',function(){
Expand Down Expand Up @@ -103,18 +94,13 @@ $(function(){
dataType: "json",
success: function(data){
dimmer.hideDown();
<<<<<<< HEAD
$('.address_list').find('.J_newaddress').before(data.html);
updateOrder();
=======

if ( index == -1 ){
$('.address_list').find('.J_newaddress').before(data.html);
}else{
var li = $('.address_list').children("div").eq(index);
li.replaceWith(data.html);
}
>>>>>>> origin/master
popup.hideDown();
},
error: function(){
Expand Down

0 comments on commit 71b1e67

Please sign in to comment.