fuck embedded iframes and their stupid display problems with scrolling. also make...
[freeside.git] / httemplate / view / cust_main.cgi
index 63df35a..2231d41 100755 (executable)
@@ -111,19 +111,7 @@ Comments
 
 <BR>
 
-%   if ($notecount) {
-
-<iframe src="<% $p %>view/cust_main/notes.html?custnum=<% $cust_main->custnum %>" height="186" width="616" name="cust_main_notes" frameborder="0" marginborder="0" marginheight="0" scrolling="auto">
-  <div><br>[iframe not supported]<br><br></div>
-</iframe>
-
-%   }else{ # make firefox happy wrt POSTDATA
-
-<iframe src="<% $p %>view/cust_main/notes.html?custnum=<% $cust_main->custnum %>" height="24" width="616" name="cust_main_notes" frameborder="0" marginborder="0" marginheight="0" scrolling="auto">
-  <div><br>[iframe not supported]<br><br></div>
-</iframe>
-
-%   }
+<% include('cust_main/notes.html', 'custnum' => $cust_main->custnum ) %>
 
 % }