mirror of
https://github.com/marcrobledo/savegame-editors.git
synced 2025-04-28 09:05:10 +00:00
improved the way the filenames are shown in the drag and drop container
This commit is contained in:
parent
22c37273bd
commit
9a92623bd3
@ -164,8 +164,15 @@ function getSavegameAllNames(){
|
||||
return SavegameEditor.Filename;
|
||||
else{
|
||||
var s='';
|
||||
for(var i=0; i<SavegameEditor.Filename.length; i++)
|
||||
s+=SavegameEditor.Filename[i]+', ';
|
||||
for(var i=0; i<SavegameEditor.Filename.length; i++){
|
||||
if(i){
|
||||
if(i===(SavegameEditor.Filename.length-1))
|
||||
s+=' or ';
|
||||
else
|
||||
s+=', ';
|
||||
}
|
||||
s+=SavegameEditor.Filename[i];
|
||||
}
|
||||
return s
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user