Fix deleting messages in search mailboxes.
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 24 Dec 2009 06:23:53 +0000 (23:23 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 24 Dec 2009 06:23:53 +0000 (23:23 -0700)
imp/js/DimpBase.js
imp/templates/javascript_defs_dimp.php

index 11c9194..3e659f4 100644 (file)
@@ -2212,7 +2212,7 @@ var DimpBase = {
         if (vs.getBuffer().getMetaData('search')) {
             $H(r.uids).each(function(pair) {
                 pair.value.each(function(v) {
-                    uids.push(v + pair.key);
+                    uids.push(v + DIMP.conf.IDX_SEP + pair.key);
                 });
             });
 
index ae1e5de..89000a2 100644 (file)
@@ -52,6 +52,7 @@ $code['conf'] = array_filter(array(
     'URI_SEARCH' => (string) Horde::applicationUrl('search.php'),
     'URI_VIEW' => (string) Horde::applicationUrl('view.php'),
 
+    'IDX_SEP' => IMP::IDX_SEP,
     'SESSION_ID' => defined('SID') ? SID : '',
 
     // Other variables