Some additional fixes to last big committment
[fa-stable.git] / includes / ui / ui_view.inc
index dce9fff41c88066886ef9d0b4664c0302c9ab7b6..65a9f39341ab8cfcb491ee0aa7b9857d678ff006 100644 (file)
@@ -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;
 }
 //