get_js_set_focus superseded by js setFocus() and php set_focus()
[fa-stable.git] / gl / inquiry / gl_account_inquiry.php
index 6fedc61ede6d1fc3f251413a219060f7e477ebe5..e91a59b2d985f1f5905e57b1bf2986b8929c0ae8 100644 (file)
@@ -11,13 +11,14 @@ include_once($path_to_root . "/includes/data_checks.inc");
 
 include_once($path_to_root . "/gl/includes/gl_db.inc");
 
-$js = get_js_set_focus('account');
+$js = '';
+set_focus('account');
 if ($use_popup_windows)
        $js .= get_js_open_window(800, 500);
 if ($use_date_picker)
        $js .= get_js_date_picker();
 
-page(_("General Ledger Account Inquiry"), false, false, "setFocus()", $js);
+page(_("General Ledger Account Inquiry"), false, false, '', $js);
 
 //----------------------------------------------------------------------------------------------------