Subversion Repositories SmartDukaan

Rev

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

Rev 35594 Rev 35604
Line 1041... Line 1041...
1041
		"escalationType": escalationType
1041
		"escalationType": escalationType
1042
	}
1042
	}
1043
	doPostAjaxRequestWithParamsHandler(context + "/cs/edit-ticket", params,
1043
	doPostAjaxRequestWithParamsHandler(context + "/cs/edit-ticket", params,
1044
		function(response) {
1044
		function(response) {
1045
			if (response == "true") {
1045
			if (response == "true") {
-
 
1046
				// Close the modal and remove backdrop before reloading
-
 
1047
				$('#theModal').modal('hide');
-
 
1048
				$('body').removeClass('modal-open');
-
 
1049
				$('.modal-backdrop').remove();
1046
				alert("Ticket changed successfully");
1050
				alert("Ticket changed successfully");
1047
				loadManagerTicket("main-content", null, null, null, null,
1051
				loadManagerTicket("main-content", null, null, null, null,
1048
					null);
1052
					null);
1049
			}
1053
			}
1050
		});
1054
		});
Line 1059... Line 1063...
1059
		"escalationType": escalationType
1063
		"escalationType": escalationType
1060
	}
1064
	}
1061
	doPostAjaxRequestWithParamsHandler(context + "/cs/edit-partner-ticket", params,
1065
	doPostAjaxRequestWithParamsHandler(context + "/cs/edit-partner-ticket", params,
1062
		function (response) {
1066
		function (response) {
1063
			if (response == "true") {
1067
			if (response == "true") {
-
 
1068
				// Close the modal and remove backdrop before reloading
-
 
1069
				$('#theModal2').modal('hide');
-
 
1070
				$('body').removeClass('modal-open');
-
 
1071
				$('.modal-backdrop').remove();
1064
				alert("Ticket changed successfully");
1072
				alert("Ticket changed successfully");
1065
				loadMyPartnerTicket("main-content", null, null, null, null,
1073
				loadMyPartnerTicket("main-content", null, null, null, null,
1066
					null);
1074
					null);
1067
			}
1075
			}
1068
		});
1076
		});