0.0.235
This commit is contained in:
@@ -12,11 +12,9 @@ function createTicketShow () {
|
||||
// enctype: 'json',
|
||||
// data: formData,
|
||||
success: function(data){
|
||||
if (data.user_alerts) {
|
||||
getNewMessageSession()
|
||||
}
|
||||
document.querySelector(".insert-tech-place").innerHTML = data.html;
|
||||
|
||||
document.querySelector(".insert-tech-place").innerHTML = data.html;
|
||||
middleWareJS()
|
||||
},
|
||||
});
|
||||
}
|
||||
@@ -84,12 +82,10 @@ function attachFileCreateTicket () {
|
||||
// enctype: 'json',
|
||||
data: data,
|
||||
success: function(data){
|
||||
if (data.user_alerts) {
|
||||
getNewMessageSession()
|
||||
}
|
||||
|
||||
|
||||
document.querySelector(".insert-tech-place").innerHTML = data.html;
|
||||
|
||||
middleWareJS()
|
||||
},
|
||||
});
|
||||
|
||||
@@ -114,12 +110,10 @@ function attachFilemeassge () {
|
||||
// enctype: 'json',
|
||||
data: data,
|
||||
success: function(data){
|
||||
if (data.user_alerts) {
|
||||
getNewMessageSession()
|
||||
}
|
||||
|
||||
|
||||
document.querySelector(".insert-tech-place").innerHTML = data.html;
|
||||
|
||||
middleWareJS()
|
||||
},
|
||||
});
|
||||
input.remove()
|
||||
@@ -140,9 +134,7 @@ function createTicket (el) {
|
||||
// enctype: 'json',
|
||||
data: formData,
|
||||
success: function(data){
|
||||
if (data.user_alerts) {
|
||||
getNewMessageSession()
|
||||
}
|
||||
middleWareJS()
|
||||
|
||||
document.querySelector(".insert-tech-place").innerHTML = data.html;
|
||||
|
||||
@@ -182,9 +174,7 @@ function selectedUserMessenger (ticket_id=null,user_id=null){
|
||||
// enctype: 'json',
|
||||
data: JSON.stringify(data),
|
||||
success: function(data){
|
||||
if (data.user_alerts) {
|
||||
getNewMessageSession()
|
||||
}
|
||||
middleWareJS()
|
||||
|
||||
|
||||
document.querySelector(".info_profile").innerHTML = data.html;
|
||||
@@ -247,7 +237,7 @@ function sendMessage(id_ticket=null,sender,receiver){
|
||||
// // enctype: 'json',
|
||||
// data: JSON.stringify(data),
|
||||
// success: function(data){
|
||||
// getNewMessageSession()
|
||||
// middleWareJS()
|
||||
//
|
||||
// document.querySelector(".container-messages").innerHTML = data.html;
|
||||
// document.querySelector(".enter-message-inp").focus()
|
||||
@@ -280,9 +270,7 @@ function openTicket (ticket_id){
|
||||
// enctype: 'json',
|
||||
data: JSON.stringify(data),
|
||||
success: function(data){
|
||||
if (data.user_alerts) {
|
||||
getNewMessageSession()
|
||||
}
|
||||
middleWareJS()
|
||||
|
||||
document.querySelector(".info_profile").innerHTML = data.html;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user