X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_view.inc;h=65a9f39341ab8cfcb491ee0aa7b9857d678ff006;hb=c935a4090e3f152dd5549217d69b5b5036197024;hp=dce9fff41c88066886ef9d0b4664c0302c9ab7b6;hpb=c678e0167be0d6773ae1b3da6ab8f2750c21f757;p=fa-stable.git diff --git a/includes/ui/ui_view.inc b/includes/ui/ui_view.inc index dce9fff4..65a9f393 100644 --- a/includes/ui/ui_view.inc +++ b/includes/ui/ui_view.inc @@ -548,6 +548,8 @@ function get_js_open_window($width, $height) If $form<0 $name is element id. */ function set_focus($name, $form_no=0) { + global $Ajax; + $Ajax->addFocus(true, $name); $_POST['_focus'] = $name; } //