Stop support ticket refresh on send, if there is a server message
This commit is contained in:
parent
701e0559e9
commit
ba746dfb2f
@ -84,7 +84,7 @@ $.extend(cur_frm.cscript, {
|
||||
Send: function(doc, dt, dn) {
|
||||
$c_obj([doc], 'send_response', '', function(r,rt) {
|
||||
locals[dt][dn].new_response = '';
|
||||
if(!r.exc) {
|
||||
if(!(r.exc || r.server_messages)) {
|
||||
cur_frm.refresh();
|
||||
}
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user