Rerun of Company Logo On Reports. Better Logo align.
[fa-stable.git] / dimensions / inquiry / search_dimensions.php
index ea1781a10d305153ecefc444e5ae1679dfc04a22..6d23976fb9cb008a7f4c0de8dd0b99d399aca266 100644 (file)
@@ -18,7 +18,7 @@ include_once($path_to_root . "/includes/session.inc");
 include_once($path_to_root . "/includes/date_functions.inc");
 include_once($path_to_root . "/includes/ui.inc");
 $js = "";
-if ($use_popup_windows)
+if ($SysPrefs->use_popup_windows)
        $js .= get_js_open_window(800, 500);
 if (user_use_date_picker())
        $js .= get_js_date_picker();
@@ -50,7 +50,6 @@ if (get_post('SearchOrders'))
        $Ajax->addDisable(true, 'OpenOnly', $disable);
 
        if ($disable) {
-//             $Ajax->addFocus(true, 'OrderNumber');
                set_focus('OrderNumber');
        } else
                set_focus('type_');
@@ -114,9 +113,6 @@ function is_overdue($row)
 
 function edit_link($row)
 {
-       //return $row["closed"] ?  '' :
-       //      pager_link(_("Edit"),
-       //              "/dimensions/dimension_entry.php?trans_no=" . $row["id"], ICON_EDIT);
        return pager_link(_("Edit"),
                        "/dimensions/dimension_entry.php?trans_no=" . $row["id"], ICON_EDIT);
 }