Fix delete after undelete after delete
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 18 Mar 2009 20:37:59 +0000 (14:37 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 18 Mar 2009 20:37:59 +0000 (14:37 -0600)
imp/js/src/DimpBase.js

index 2d92d18..10ea99f 100644 (file)
@@ -2098,6 +2098,7 @@ var DimpBase = {
 
             if (action == 'undeleted') {
                 DimpCore.doAction('UndeleteMessage', args, vs);
+                vs.set({ isdel: false });
             } else {
                 actionCall = { deleted: 'DeleteMessage', spam: 'ReportSpam', ham: 'ReportHam', blacklist: 'Blacklist', whitelist: 'Whitelist' };
                 // This needs to be synchronous Ajax if we are calling from a