|
|
@ -308,8 +308,10 @@ function fileExplorer (appAPI, files) { |
|
|
|
|
|
|
|
|
|
|
|
function fileRenamed (oldName, newName, isFolder) { |
|
|
|
function fileRenamed (oldName, newName, isFolder) { |
|
|
|
var li = getElement(oldName) |
|
|
|
var li = getElement(oldName) |
|
|
|
if (li) li.parentElement.removeChild(li) |
|
|
|
if (li) { |
|
|
|
fileFocus(newName) |
|
|
|
li.parentElement.removeChild(li) |
|
|
|
|
|
|
|
fileAdded(newName) |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function fileRenamedError (error) { |
|
|
|
function fileRenamedError (error) { |
|
|
|