Store newly created pads in the correct (shared) folder

This commit is contained in:
yflory
2018-07-13 15:01:03 +02:00
parent 6a80f49fe0
commit 4706b8a9de
2 changed files with 2 additions and 5 deletions

View File

@@ -523,7 +523,8 @@ define([
if (common.initialPath) {
if (!data.path) {
data.path = common.initialPath;
data.path = Array.isArray(common.initialPath) ? common.initialPath
: decodeURIComponent(common.initialPath).split(',');
delete common.initialPath;
}
}