mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-09 00:14:57 +02:00
if initial load is done via GET request (idots template or share.php), get_rows cant call app.filemanager.set_readonly
setting now value "initial_path_readonly" in content and use that in app.filemanager.et2_ready() to call set_readonly()
This commit is contained in:
@ -83,6 +83,11 @@ app.classes.filemanager = AppJS.extend(
|
||||
// get clipboard from browser localstore and update button tooltips
|
||||
this.clipboard_tooltips();
|
||||
|
||||
// calling set_readonly for initial path
|
||||
if (this.et2.getArrayMgr('content').getEntry('initial_path_readonly'))
|
||||
{
|
||||
this.readonly = [this.et2.getArrayMgr('content').getEntry('nm[path]'), true];
|
||||
}
|
||||
if (typeof this.readonly != 'undefined')
|
||||
{
|
||||
this.set_readonly.apply(this, this.readonly);
|
||||
|
Reference in New Issue
Block a user