Subversion Repositories SmartDukaan

Rev

Rev 32595 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 32595 Rev 35375
Line 53... Line 53...
53
			bannerUrl = $("#banner-url").val();
53
			bannerUrl = $("#banner-url").val();
54
			targetUrl = $("#target-url").val();
54
			targetUrl = $("#target-url").val();
55
			rank = $("#rank").val();
55
			rank = $("#rank").val();
56
			bannerListingId = $(this).data("id");
56
			bannerListingId = $(this).data("id");
57
			mediaType = $("#media-type").val();
57
			mediaType = $("#media-type").val();
-
 
58
            isTrial = $("#is-trial").prop('checked');
58
 
59
 
59
			json = {
60
            json = {
60
				bannerUrl : bannerUrl,
61
				bannerUrl : bannerUrl,
61
				targetUrl: targetUrl,
62
				targetUrl: targetUrl,
62
				rank : rank,
63
				rank : rank,
63
				bannerListingId : bannerListingId,
64
				bannerListingId : bannerListingId,
64
				mediaType : mediaType
65
                mediaType: mediaType,
-
 
66
                trial: isTrial
65
 
67
 
66
			};
68
			};
67
 
69
 
68
			console.log(json)
70
			console.log(json)
69
 
71