* Filemanager - fix unable to change directory after returning from shared files list

This commit is contained in:
nathangray 2018-01-08 09:58:05 -07:00
parent 3b25305959
commit fc096da1b3

View File

@ -692,6 +692,13 @@ app.classes.filemanager = AppJS.extend(
for(var etemplate_name in this.path_widget) break;
if (widget) etemplate_name = widget.getInstanceManager().uniqueId;
// Make sure everything is in place for changing directory
if(!this.et2 || typeof etemplate_name !== 'string' ||
typeof this.path_widget[etemplate_name] === 'undefined')
{
return false;
}
switch (_dir)
{
case '..':