Skip to content

Commit

Permalink
remove vestigal frameset code from print window
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jan 22, 2014
1 parent 4f38d7c commit 0d69f6d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions imp/js/imp.js
Expand Up @@ -128,11 +128,6 @@ var IMP_JS = {

printWindow: function(win)
{
/* Prototypejs not available in this window. */
var fs = win.document.getElementById('frameset');
if (fs) {
fs.rows = (win.document.getElementById('headers').contentWindow.document.getElementById('headerblock').offsetHeight + 5) + 'px,*';
}
win.print();
win.close();
},
Expand Down
2 changes: 1 addition & 1 deletion imp/templates/print/headers.html.php
@@ -1,4 +1,4 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "DTD/xhtml1-frameset.dtd">
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "DTD/xhtml1-transitional.dtd">
<html>
<head></head>
<body>
Expand Down

0 comments on commit 0d69f6d

Please sign in to comment.