Subversion Repositories SmartDukaan

Rev

Rev 11137 | Rev 11325 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 11137 Rev 11186
Line 432... Line 432...
432
 if(shopId == undefined){
432
 if(shopId == undefined){
433
  document.getElementById(id).className += ' selected-add'; 
433
  document.getElementById(id).className += ' selected-add'; 
434
  shopId = id;
434
  shopId = id;
435
  inStoreDelivery = true;
435
  inStoreDelivery = true;
436
 }else if(shopId != id){
436
 }else if(shopId != id){
-
 
437
  if(document.getElementById(shopId)){
437
  document.getElementById(shopId).className += 'pickup-spot';
438
    document.getElementById(shopId).className += 'pickup-spot';
-
 
439
  }
438
  document.getElementById(id).className += ' selected-add';
440
  document.getElementById(id).className += ' selected-add';
439
  shopId = id;
441
  shopId = id;
440
  inStoreDelivery = true;
442
  inStoreDelivery = true;
441
 }
443
 }
442
 var url = base_url+'checkout/pickupSpot/'+id;
444
 var url = base_url+'checkout/pickupSpot/'+id;