Subversion Repositories SmartDukaan

Rev

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

Rev 4984 Rev 5145
Line 214... Line 214...
214
    	  seldata.unshift(refdivid);
214
    	  seldata.unshift(refdivid);
215
          tot = 1;
215
          tot = 1;
216
     }
216
     }
217
 
217
 
218
     if(tot > 0)	{
218
     if(tot > 0)	{
219
          //alert("AJAX request to add products in My research. Product ID: "+seldata+" and total: "+tot);
-
 
220
          jQuery.ajax({
219
          jQuery.ajax({
221
               type: "POST",
220
               type: "POST",
222
                      url: "/addtoresearch",
221
                      url: "/addtoresearch",
223
                      data: "productid=[" + seldata +  "]",
222
                      data: "productid=[" + seldata +  "]",
224
                      success: function(msg){
223
                      success: function(msg){
Line 277... Line 276...
277
    }, 0);
276
    }, 0);
278
}
277
}
279
 
278
 
280
function changeShipAddress(id){
279
function changeShipAddress(id){
281
  addressId = id.substring(20);
280
  addressId = id.substring(20);
282
 //alert("TODO AJAX request to change shipping address. " + addressId);
-
 
283
   jQuery.ajax({
281
   jQuery.ajax({
284
      type: "POST",
282
      type: "POST",
285
      url: "/shipping",
283
      url: "/shipping",
286
      data: "action=change&addressid="+addressId,
284
      data: "action=change&addressid="+addressId,
287
      success: function(msg){
285
      success: function(msg){