Make sure to send json request from the current window

This commit is contained in:
Hadi Nategh 2014-05-22 15:22:19 +00:00
parent 84e20433b6
commit 253bc18f90

View File

@ -2745,7 +2745,7 @@ app.classes.mail = AppJS.extend(
{
if (_typeID && _data)
{
var request = egw().json('mail.mail_sieve.ajax_action', [_typeID,_selectedID,_msg],null,null,true);
var request = this.egw.json('mail.mail_sieve.ajax_action', [_typeID,_selectedID,_msg],null,null,true);
request.sendRequest();
}
},