if(typeofresp[key]!=='undefined'&&obj[key]!==resp[key]&&confirm('Overwrite "'+utils.fileNameFromKey(key)+'"? Click Ok to overwrite local file with file from cloud. Cancel will push your local file to the cloud.')){
if(typeofresp[key]!=='undefined'&&obj[key]!==resp[key]&&confirm('Overwrite "'+key+'"? Click Ok to overwrite local file with file from cloud. Cancel will push your local file to the cloud.')){
console.log('Overwriting',key)
storage.set(key,resp[key])
updateFiles()
@ -120,9 +118,6 @@ var run = function () {
for(varyinstorage.keys()){
console.log('checking',y)
obj[y]=storage.get(y)
if(!utils.isCachedFile(y)){
continue
}
count++
check(y)
}
@ -246,9 +241,9 @@ var run = function () {
editor.hasFile(newName)
?'Are you sure you want to overwrite: '+newName+' with '+originalName+'?'
:'Are you sure you want to rename: '+originalName+' to '+newName+'?')){