Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Change file_ to nodes[]
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Dec 10, 2013
1 parent fb65dfb commit 5804ca0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion core/src/plugins/gui.ajax/res/js/ajaxplorer.js

Large diffs are not rendered by default.

Expand Up @@ -312,13 +312,7 @@ Class.create("ActionsManager", {
}else{
connexion.addParameter('get_action', this.defaultActions.get('dragndrop'));
}
if(fileName != null){
connexion.addParameter('file', fileName);
}else{
for(var i=0; i<fileNames.length;i++){
connexion.addParameter('file_'+i, fileNames[i]);
}
}
connexion.addParameter('nodes[]', fileNames);
connexion.addParameter('dest', destDir);
connexion.addParameter('dir', ajaxplorer.getContextNode().getPath());
connexion.onComplete = function(transport){this.parseXmlMessage(transport.responseXML);}.bind(this);
Expand Down

0 comments on commit 5804ca0

Please sign in to comment.