mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-13 17:38:19 +01:00
fixed update button in filemanager
This commit is contained in:
parent
9dd38aa59a
commit
fdaa712922
@ -434,7 +434,7 @@
|
|||||||
|
|
||||||
/* Update if they request it, or one out of 20 page loads */
|
/* Update if they request it, or one out of 20 page loads */
|
||||||
srand((double) microtime() * 1000000);
|
srand((double) microtime() * 1000000);
|
||||||
if($update || rand(0, 19) == 4)
|
if($_GET['update'] || rand(0, 19) == 4)
|
||||||
{
|
{
|
||||||
$this->bo->vfs->update_real(array(
|
$this->bo->vfs->update_real(array(
|
||||||
'string' => $this->path,
|
'string' => $this->path,
|
||||||
@ -1001,7 +1001,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// reload button with this url
|
// reload button with this url
|
||||||
$link=$this->encode_href('/index.php','menuaction=filemanager.uifilemanager.index','path='.$this->path);
|
$link=$this->encode_href('/index.php','menuaction=filemanager.uifilemanager.index&update=1','path='.$this->path);
|
||||||
$toolbar.=$this->buttonImage($link,'reload',lang('reload'));
|
$toolbar.=$this->buttonImage($link,'reload',lang('reload'));
|
||||||
|
|
||||||
$toolbar.='<td>'.lang('Location').': ';
|
$toolbar.='<td>'.lang('Location').': ';
|
||||||
|
Loading…
Reference in New Issue
Block a user