Subversion Repositories SmartDukaan

Rev

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

Rev 5347 Rev 5358
Line 99... Line 99...
99
				haveSameProductType = false;
99
				haveSameProductType = false;
100
			}
100
			}
101
			productType = $(this).attr('producttype');
101
			productType = $(this).attr('producttype');
102
			
102
			
103
			if(tot == 1)	{
103
			if(tot == 1)	{
104
				prodnames += $(this).attr("title").replace(/ +/g, '-').toLowerCase();
104
				prodnames += $(this).attr("title").replace(/ +/g, '-').replace(/\/+/g,'-').replace(/-+/g,'-').toLowerCase();
105
				seldata += "p" + tot + "=" + $(this).val();
105
				seldata += "p" + tot + "=" + $(this).val();
106
			} else	{
106
			} else	{
107
				seldata += "&p" + tot + "=" + $(this).val();
107
				seldata += "&p" + tot + "=" + $(this).val();
108
				prodnames += "-vs-" + $(this).attr("title").replace(/ +/g, '-').toLowerCase();
108
				prodnames += "-vs-" + $(this).attr("title").replace(/ +/g, '-').replace(/\/+/g,'-').replace(/-+/g,'-').toLowerCase();
109
			}
109
			}
110
			tot ++;
110
			tot ++;
111
		});
111
		});
112
		
112
		
113
		if(! haveSameProductType)	{
113
		if(! haveSameProductType)	{