Should not be needed any more.
authorMichael M Slusarz <slusarz@curecanti.org>
Fri, 16 Jan 2009 06:13:34 +0000 (23:13 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Fri, 16 Jan 2009 19:01:58 +0000 (12:01 -0700)
imp/js/src/DimpCore.js

index 35612bb..61f4a42 100644 (file)
@@ -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');
-}