Enabling popup search in Customers, branches, suppliers, inventory, fixed assets...
[fa-stable.git] / inventory / manage / sales_kits.php
index 2f4066787f548658e938f07cb28bae179122d044..f7199e8c0a6483a69cd2a08d5159ad30f51de816 100644 (file)
@@ -13,7 +13,11 @@ $page_security = 'SA_SALESKIT';
 $path_to_root = "../..";
 include_once($path_to_root . "/includes/session.inc");
 
-page(_($help_context = "Sales Kits & Alias Codes"));
+$js = "";
+if ($SysPrefs->use_popup_windows && $SysPrefs->use_popup_search)
+       $js .= get_js_open_window(900, 500);
+
+page(_($help_context = "Sales Kits & Alias Codes"), false, false, "", $js);
 
 include_once($path_to_root . "/includes/date_functions.inc");
 include_once($path_to_root . "/includes/ui.inc");