mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-26 01:43:47 +01:00
Fix uglify js error, complaining about ES6 syntax
This commit is contained in:
parent
2be145beda
commit
8b84f56421
@ -997,9 +997,13 @@ var et2_vfsSelect = (function(){ "use strict"; return et2_inputWidget.extend(
|
||||
case 'open-multiple':
|
||||
if (_value.dir && _value.dir.selected)
|
||||
{
|
||||
Object.keys(_value.dir.selected)
|
||||
.forEach((key) => (_value.dir.selected[key] != "")
|
||||
&& files.push(_value.path+'/'+_value.dir.selected[key]));
|
||||
for(var key in Object.keys(_value.dir.selected))
|
||||
{
|
||||
if (_value.dir.selected[key] != "")
|
||||
{
|
||||
files.push(_value.path+'/'+_value.dir.selected[key]);
|
||||
}
|
||||
}
|
||||
}
|
||||
break;
|
||||
case 'select-dir':
|
||||
|
Loading…
Reference in New Issue
Block a user