fix drag and drop to set the last move/copy target uri correctly, r=jminta, 466259

This commit is contained in:
David Bienvenu 2008-11-25 12:41:14 -08:00
Родитель 0d9e46a39b
Коммит b07380e2be
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -355,8 +355,8 @@ let gFolderTreeView = {
.getService(Ci.nsIDragService).getCurrentSession()
.dragAction == Ci.nsIDragService.DRAGDROP_ACTION_MOVE;
pref.setCharPref("last_msg_movecopy_target_uri", targetFolder.URI);
pref.setBoolPref("last_msg_movecopy_was_move", isMove);
prefBranch.setCharPref("last_msg_movecopy_target_uri", targetFolder.URI);
prefBranch.setBoolPref("last_msg_movecopy_was_move", isMove);
// ### ugh, so this won't work with cross-folder views. We would
// really need to partition the messages by folder.
cs.CopyMessages(sourceFolder, array, targetFolder, isMove, null,