Subversion Repositories SmartDukaan

Rev

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

Rev 5420 Rev 5552
Line 113... Line 113...
113
		if(! haveSameProductType)	{
113
		if(! haveSameProductType)	{
114
			alert("Only products of same category can be compared");
114
			alert("Only products of same category can be compared");
115
		} else if(tot > 6)	{
115
		} else if(tot > 6)	{
116
			alert("Can compare upto five products only.");
116
			alert("Can compare upto five products only.");
117
		} else if(tot > 2)	{
117
		} else if(tot > 2)	{
118
			window.location = "/compare-" + productType.replace(/ +/g, '-').toLowerCase() + "/" + prodnames + "?" + seldata;
118
			window.location = "/compare-" + productType.replace(/ +/g, '-').toLowerCase() + "/" + prodnames + "?" + seldata+"&fromsrc=comparison_widget";
119
		} else	{
119
		} else	{
120
			alert("Please select atleast two products");
120
			alert("Please select atleast two products");
121
		}
121
		}
122
	});
122
	});
123
	
123