@jupyterlab/filebrowser
Advanced tools
Comparing version 0.13.1 to 0.13.2
@@ -211,3 +211,7 @@ "use strict"; | ||
this._showingError = true; | ||
apputils_1.showErrorMessage('Server Connection Error', args).then(function () { | ||
var title = 'Server Connection Error'; | ||
if (args.message.indexOf('Directory not found') === 0) { | ||
title = 'Directory not found'; | ||
} | ||
apputils_1.showErrorMessage(title, args).then(function () { | ||
_this._showingError = false; | ||
@@ -214,0 +218,0 @@ }); |
@@ -234,9 +234,5 @@ "use strict"; | ||
if (error.message === 'Not Found') { | ||
var path = _this._model.path; | ||
error.message = "Directory not found: \"" + path + "\""; | ||
error.message = "Directory not found: \"" + _this._model.path + "\""; | ||
_this._connectionFailure.emit(error); | ||
var parent_1 = coreutils_1.PathExt.dirname(path); | ||
if (parent_1 !== path) { | ||
_this.cd('..'); | ||
} | ||
_this.cd('/'); | ||
} | ||
@@ -243,0 +239,0 @@ }); |
{ | ||
"name": "@jupyterlab/filebrowser", | ||
"version": "0.13.1", | ||
"version": "0.13.2", | ||
"description": "JupyterLab - FileBrowser Widget", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/jupyterlab/jupyterlab", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
308109