Remove an extra refresh or two.

Fixes row missing data after move.
This commit is contained in:
Nathan Gray 2014-02-27 00:22:25 +00:00
parent 05a7effdf0
commit cc11aede69

View File

@ -2161,9 +2161,7 @@ app.classes.mail = AppJS.extend(
.sendRequest();
var nm = this.et2.getWidgetById(this.nm_index);
this.mail_setRowClass(_senders,'deleted');
nm.refresh(messages['msg'],'delete')
//for (var i = 0; i < messages['msg'].length; i++) egw.dataDeleteUID(messages['msg'][i]);
this.mail_refreshMessageGrid();
// Server response contains refresh
},
/**
* mail_copy - implementation of the copy action from drag n drop
@ -2181,7 +2179,7 @@ app.classes.mail = AppJS.extend(
// as the "onNodeSelect" function!
egw.json('mail.mail_ui.ajax_copyMessages',[target, messages])
.sendRequest();
this.mail_refreshMessageGrid();
// Server response contains refresh
},
/**