mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-07 16:44:20 +01:00
- Add check to make sure path_widget is there before using it
- Remove extra change stuff
This commit is contained in:
parent
5d1a8e16ee
commit
7c3d0776dd
@ -440,7 +440,6 @@ app.filemanager = AppJS.extend(
|
||||
break;
|
||||
}
|
||||
this.path_widget.set_value(_dir);
|
||||
this.path_widget.change();
|
||||
},
|
||||
|
||||
/**
|
||||
@ -622,6 +621,8 @@ app.filemanager = AppJS.extend(
|
||||
set_readonly: function(_path, _ro)
|
||||
{
|
||||
//alert('set_readonly("'+_path+'", '+_ro+')');
|
||||
if(!this.path_widget) return;
|
||||
|
||||
var path = this.path_widget.getValue();
|
||||
|
||||
if (_path == path)
|
||||
|
@ -58,7 +58,7 @@
|
||||
<hbox span="all">
|
||||
<image label="Up" src="goup" onclick="app.filemanager.change_dir('..');"/>
|
||||
<image label="Go to your home directory" src="gohome" onclick="app.filemanager.change_dir('~');"/>
|
||||
<vfs-name label="Path" id="path" onchange="return true;" options="80" class="address"/>
|
||||
<vfs-name label="Path" id="path" options="80" class="address"/>
|
||||
<button label="Go to" id="button[go]" image="key_enter"/>
|
||||
<image src="buttonseparator"/>
|
||||
<buttononly statustext="Rename, change permissions or ownership" label="Edit settings" id="button[edit]" onclick="app.filemanager.editprefs();" options="edit"/>
|
||||
|
Loading…
Reference in New Issue
Block a user