mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-25 16:19:00 +01:00
method to set message
This commit is contained in:
parent
008f009d80
commit
35f9473fc0
@ -447,6 +447,10 @@ class filemanager_ui
|
|||||||
}
|
}
|
||||||
open_mail(ids);
|
open_mail(ids);
|
||||||
}
|
}
|
||||||
|
function egw_fileman_setMsg(_msg)
|
||||||
|
{
|
||||||
|
\$j(document.getElementById('nm[msg]')).text(_msg);
|
||||||
|
}
|
||||||
</script>\n";
|
</script>\n";
|
||||||
}
|
}
|
||||||
$GLOBALS['egw_info']['flags']['java_script'] .= '<script type="text/javascript">
|
$GLOBALS['egw_info']['flags']['java_script'] .= '<script type="text/javascript">
|
||||||
@ -1282,7 +1286,7 @@ function force_download(_action, _senders)
|
|||||||
|
|
||||||
$msg = self::action($action, $selected);
|
$msg = self::action($action, $selected);
|
||||||
|
|
||||||
$response->script('$j(document.getElementById("nm[msg]")).text("'.$msg.'");'); // ->jquery('#nm[msg]','text' does not work!
|
$response->script('egw_fileman_setMsg("'.$msg.'");');
|
||||||
$response->script('clipboard_files = '.json_encode($clipboard_files).';');
|
$response->script('clipboard_files = '.json_encode($clipboard_files).';');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user