Subversion Repositories SmartDukaan

Rev

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

Rev 26014 Rev 27124
Line -... Line 1...
-
 
1
var TEAM_ACTIVITY = ["COMMUNICATION_OUT","COMMUNICATION_INTERNAL", "ESCALATED", "ASSIGNED", "CATEGORY_CHANGED"];
1
$(function() {
2
$(function() {
2
 
3
 
3
	$(".create-ticket-category").live('click', function() {
4
	$(".create-ticket-category").live('click', function() {
4
		console.log("create ticket category clicked......");
5
		console.log("create ticket category clicked......");
5
		loadCreateCategory("main-content");
6
		loadCreateCategory("main-content");
Line 996... Line 997...
996
								+ response[i].createTimestamp.year
997
								+ response[i].createTimestamp.year
997
								+ "</span></div>" + "</div>" + "</div>";
998
								+ "</span></div>" + "</div>" + "</div>";
998
						$(".activity-container .modal-body").append(
999
						$(".activity-container .modal-body").append(
999
								partnerMessage);
1000
								partnerMessage);
1000
					}
1001
					}
1001
					if ((response[i].type == "COMMUNICATION_OUT" || response[i].type == "COMMUNICATION_INTERNAL")
-
 
1002
							&& response[i].createdBy > 0) {
1002
					if (TEAM_ACTIVITY.indexOf(response[i].type) > 0) {
1003
						if (response[i].name
1003
						if (response[i].name
1004
								&& response[i].type == "COMMUNICATION_OUT") {
1004
								&& response[i].type == "COMMUNICATION_OUT") {
1005
							var assigneeMessage = "<div class=\"outgoing_msg\">"
1005
							var assigneeMessage = "<div class=\"outgoing_msg\">"
1006
									+ "<div class=\"sent_msg\">"
1006
									+ "<div class=\"sent_msg\">"
1007
									+ "<span style=color:green>"
1007
									+ "<span style=color:green>"