From 2a47b266cffc69dba289236f87b55b5a8aa4365f Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 15 Jan 2009 23:13:34 -0700 Subject: [PATCH] Should not be needed any more. --- imp/js/src/DimpCore.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/imp/js/src/DimpCore.js b/imp/js/src/DimpCore.js index 35612bb9d..61f4a4247 100644 --- a/imp/js/src/DimpCore.js +++ b/imp/js/src/DimpCore.js @@ -18,7 +18,6 @@ DimpCore = { acount: 0, remove_gc: [], server_error: 0, - view_id: 1, buttons: [ 'button_reply', 'button_forward', 'button_spam', 'button_ham', 'button_deleted' ], @@ -644,10 +643,3 @@ function popup_imp(url, w, h, args) { DimpCore.compose('new', args.toQueryParams().toObject()); } - -/* For attachment viewing to work, replaces the function from - * horde/templates/contents/open_view_win.js. */ -function view(url, uniqid) -{ - window.open(url, ++DimpCore.view_id + uniqid.replace(/\W/g, '_'), 'menubar=yes,toolbar=no,location=no,status=no,scrollbars=yes,resizable=yes'); -} -- 2.11.0