$('<li class="shareTree-item">').append( $icon, $name, $path).appendTo($list).click(function() {
                        self.changeDirectory(share.path.replace(folder.name, ''), true).then(function() {
                            self._updateDetailsView(folder.name, true);
                        }).catch(function(e) {
                            console.error(e);