Add compose prefix to window name so we can find all compose windows

This commit is contained in:
Nathan Gray 2013-10-05 10:23:01 +00:00
parent b955b1b495
commit 86abbbf443

View File

@ -257,8 +257,7 @@ app.mail = AppJS.extend(
settings.from = _action.id;
}
var window_name = settings.from + '_' + settings.id;
var window_name = 'compose_' + (settings.from || '') + '_' + settings.id;
egw().open('','mail','add',settings,window_name);
return true;
},