Subversion Repositories SmartDukaan

Rev

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

Rev 11761 Rev 11763
Line 312... Line 312...
312
  if (value == 2) {
312
  if (value == 2) {
313
    if ( typeof _gaq != "undefined" && _gaq != null) {
313
    if ( typeof _gaq != "undefined" && _gaq != null) {
314
      _gaq.push(["_trackEvent", "Recharge", "Recharge Type", "DTH"]);
314
      _gaq.push(["_trackEvent", "Recharge", "Recharge Type", "DTH"]);
315
    }
315
    }
316
  }
316
  }
-
 
317
  if (value == 3) {
-
 
318
    value = 1;
-
 
319
    if ( typeof _gaq != "undefined" && _gaq != null) {
-
 
320
      _gaq.push(["_trackEvent", "Recharge2", "Recharge Type", "Mobile"]);
-
 
321
    }
-
 
322
  }
317
  localStorage.setItem("rechargeValue", value);
323
  localStorage.setItem("rechargeValue", value);
-
 
324
  var isOperaMini = (navigator.userAgent.indexOf('Opera Mini') > -1);
-
 
325
  if(isOperaMini){
-
 
326
    addCookie("rechargeValue", value);
-
 
327
  }
318
}
328
}
319
 
329
 
320
function changeCaptcha() {
330
function changeCaptcha() {
321
  var url = base_url + "checkout/changeCaptcha";
331
  var url = base_url + "checkout/changeCaptcha";
322
  microAjax(url, function(res) {
332
  microAjax(url, function(res) {