Forgot that shifting returns single element instead of full array
This commit is contained in:
parent
43b030be6e
commit
847949e60b
1 changed files with 1 additions and 2 deletions
|
|
@ -265,9 +265,8 @@ var pdApp = {
|
|||
pdApp.processInfo.after = items[0].data.name;
|
||||
}
|
||||
if (edited === false) {
|
||||
items = items.shift();
|
||||
items.shift();
|
||||
}
|
||||
|
||||
if (items.length > 0) {
|
||||
pdApp.process.handle.item(items,edited);
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue