@jupyterlab/filebrowser
Advanced tools
Comparing version 0.15.2 to 0.15.3
@@ -1050,3 +1050,3 @@ "use strict"; | ||
} | ||
else if (selectedNames.length === 1) { | ||
else { | ||
var name_8 = selectedNames[0]; | ||
@@ -1074,2 +1074,3 @@ item = algorithm_1.find(items, function (value) { return value.name === name_8; }); | ||
if (item && item.type !== 'directory') { | ||
var otherPaths_1 = paths.slice(1).reverse(); | ||
this._drag.mimeData.setData(FACTORY_MIME, function () { | ||
@@ -1084,2 +1085,17 @@ if (!item) { | ||
} | ||
if (otherPaths_1.length) { | ||
var firstWidgetPlaced = new coreutils_2.PromiseDelegate(); | ||
firstWidgetPlaced.promise.then(function () { | ||
var prevWidget = widget; | ||
otherPaths_1.forEach(function (path) { | ||
var options = { | ||
ref: prevWidget.id, | ||
mode: 'tab-after' | ||
}; | ||
prevWidget = _this._manager.openOrReveal(path, void 0, void 0, options); | ||
_this._manager.openOrReveal(item.path); | ||
}); | ||
}); | ||
firstWidgetPlaced.resolve(void 0); | ||
} | ||
return widget; | ||
@@ -1086,0 +1102,0 @@ }); |
{ | ||
"name": "@jupyterlab/filebrowser", | ||
"version": "0.15.2", | ||
"version": "0.15.3", | ||
"description": "JupyterLab - FileBrowser Widget", | ||
@@ -33,7 +33,7 @@ "homepage": "https://github.com/jupyterlab/jupyterlab", | ||
"dependencies": { | ||
"@jupyterlab/apputils": "^0.15.2", | ||
"@jupyterlab/coreutils": "^1.0.4", | ||
"@jupyterlab/docmanager": "^0.15.2", | ||
"@jupyterlab/docregistry": "^0.15.2", | ||
"@jupyterlab/services": "^1.1.2", | ||
"@jupyterlab/apputils": "^0.15.3", | ||
"@jupyterlab/coreutils": "^1.0.5", | ||
"@jupyterlab/docmanager": "^0.15.3", | ||
"@jupyterlab/docregistry": "^0.15.3", | ||
"@jupyterlab/services": "^1.1.3", | ||
"@phosphor/algorithm": "^1.1.2", | ||
@@ -40,0 +40,0 @@ "@phosphor/commands": "^1.4.0", |
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
314509
4058