Subversion Repositories SmartDukaan

Rev

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

Rev 27754 Rev 27755
Line 7... Line 7...
7
	$(".content").on('click', function() {
7
	$(".content").on('click', function() {
8
		loadContentPanel("main-content");
8
		loadContentPanel("main-content");
9
	});
9
	});
10
 
10
 
11
	/*
11
	/*
12
	 * $("#feature-paginated .next").live( 'click', function() {
12
	 * $(document).on('click', "#feature-paginated .next", function() {
13
	 * loadPaginatedNextItems('/getPaginatedfeature', null, 'feature-paginated',
13
	 * loadPaginatedNextItems('/getPaginatedfeature', null, 'feature-paginated',
14
	 * 'feature-table', 'feature-container');
14
	 * 'feature-table', 'feature-container');
15
	 * 
15
	 * 
16
	 * $(this).blur(); });
16
	 * $(this).blur(); });
17
	 * 
17
	 * 
18
	 * $("#feature-paginated .previous").live( 'click', function() {
18
	 * $(document).on('click', "#feature-paginated .previous", function() {
19
	 * 
19
	 * 
20
	 * loadPaginatedPreviousItems('/getPaginatedfeature', null,
20
	 * loadPaginatedPreviousItems('/getPaginatedfeature', null,
21
	 * 'feature-paginated', 'feature-table', 'feature-container');
21
	 * 'feature-paginated', 'feature-table', 'feature-container');
22
	 * 
22
	 * 
23
	 * $(this).blur(); });
23
	 * $(this).blur(); });
24
	 */
24
	 */
25
 
25
 
26
	$("#submitFeature").live(
26
	$(document).on('click', "#submitFeature",
27
			'click',
-
 
28
			function() {
27
			function() {
29
				var editorData = CKEDITOR.instances['featureEditor'].getData();
28
				var editorData = CKEDITOR.instances['featureEditor'].getData();
30
				console.log(editorData)
29
				console.log(editorData)
31
				var catalogItemid = $('#catalogItemid').val();
30
				var catalogItemid = $('#catalogItemid').val();
32
				var rankPoints = $('#rankPoints').val();
31
				var rankPoints = $('#rankPoints').val();
Line 75... Line 74...
75
		console.log(catalogItemId);
74
		console.log(catalogItemId);
76
		console.log(feature);
75
		console.log(feature);
77
 
76
 
78
	});
77
	});
79
 
78
 
80
	$(".deleteCatalogranking")
79
	$(document).on('click', ".deleteCatalogranking",
81
			.live(
-
 
82
					'click',
-
 
83
					function() {
80
					function() {
84
						if (confirm("Are you sure you want to Remove the Entry") == true) {
81
						if (confirm("Are you sure you want to Remove the Entry") == true) {
85
							tagid = $(this).data('tagid');
82
							tagid = $(this).data('tagid');
86
							console.log(tagid);
83
							console.log(tagid);
87
							doDeleteAjaxRequestHandler(context
84
							doDeleteAjaxRequestHandler(context