function Ajax()
{
- $this->JsHttpRequest($_SESSION['language']->encoding);
+ $this->JsHttpRequest(@$_SESSION['language']->encoding);
}
//
// This function is used in ctrl routines to activate
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;