fixed javascript error stalling closing of filemanager tab or changing to shared files view

This commit is contained in:
Ralf Becker 2015-01-15 16:01:41 +00:00
parent 9840334b5c
commit 6db17e8bde

View File

@ -76,7 +76,7 @@ app.classes.filemanager = AppJS.extend(
{
// Bind to removal to remove from list
$j(et2.DOMContainer).on('clear', function(e) {
delete app.filemanager.path_widget[e.target.id];
if (app.filemanager && app.filemanager.path_widget) delete app.filemanager.path_widget[e.target.id];
});
}