Subversion Repositories SmartDukaan

Rev

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

Rev 25383 Rev 25649
Line 73... Line 73...
73
						notificationData['type'] = $('#type').val();
73
						notificationData['type'] = $('#type').val();
74
						notificationData['url'] = $('input[name="url"]').val();
74
						notificationData['url'] = $('input[name="url"]').val();
75
						notificationData['expiresat'] = startDate;
75
						notificationData['expiresat'] = startDate;
76
						notificationData['showImage'] = $(
76
						notificationData['showImage'] = $(
77
								'input[name="showImage"]').val();
77
								'input[name="showImage"]').val();
-
 
78
 
-
 
79
						notificationData['annoucement'] = $('#annoucement')
-
 
80
								.val();
78
						console.log(notificationData)
81
						console.log(notificationData)
79
 
82
 
80
						if (confirm("Are you sure you want to send notification!") == true) {
83
						if (confirm("Are you sure you want to send notification!") == true) {
81
							doPostAjaxRequestWithJsonHandler(context
84
							doPostAjaxRequestWithJsonHandler(context
82
									+ "/sendNotification", JSON
85
									+ "/sendNotification", JSON