X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fajax.inc;h=096d2391c0f9d91fdb782839222e36214d89accc;hb=175a48c5bd73abe16e77fa2cb48ba522f00d1501;hp=13a9c1efae809a3b1a02ed69dcd53832d41ff05b;hpb=2f3f7f09f117ca690d76df6ce09f29f7ecbac722;p=fa-stable.git diff --git a/includes/ajax.inc b/includes/ajax.inc index 13a9c1ef..096d2391 100644 --- a/includes/ajax.inc +++ b/includes/ajax.inc @@ -132,8 +132,8 @@ class Ajax extends JsHttpRequest { if($com['n'] == 'up' && $com['t'] == '_page_body') { $cmds = array($com); foreach( $this->aCommands as $k=> $cmd) { - if ($cmd['n'] == 'fc') { // save focus - $cmds[] = $cmd; break; + if ($cmd['n'] == 'fc' || $cmd['n'] == 'js') { // save focus + $cmds[] = $cmd; //break; } } $this->aCommands = $cmds;