mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 15:39:20 +00:00
Stop support ticket refresh on send, if there is a server message
This commit is contained in:
@@ -84,7 +84,7 @@ $.extend(cur_frm.cscript, {
|
|||||||
Send: function(doc, dt, dn) {
|
Send: function(doc, dt, dn) {
|
||||||
$c_obj([doc], 'send_response', '', function(r,rt) {
|
$c_obj([doc], 'send_response', '', function(r,rt) {
|
||||||
locals[dt][dn].new_response = '';
|
locals[dt][dn].new_response = '';
|
||||||
if(!r.exc) {
|
if(!(r.exc || r.server_messages)) {
|
||||||
cur_frm.refresh();
|
cur_frm.refresh();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user