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

Commit

Permalink
We should get rid of sendSync() wherever possible.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed Jul 15, 2015
1 parent e3fc1f0 commit c37c277
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions core/src/plugins/access.fs/fsActions.xml
Expand Up @@ -604,11 +604,11 @@
conn.addParameter('filename_new', newValue);
conn.onComplete = function(transport){
pydio.getController().parseXmlMessage(transport.responseXML);
if(orig && ajaxplorer.getUserSelection()){
ajaxplorer.getUserSelection().setSelectionSource(orig);
}
};
conn.sendSync();
if(orig && ajaxplorer.getUserSelection()){
ajaxplorer.getUserSelection().setSelectionSource(orig);
}
conn.sendAsync();
};
if(ajaxplorer.getUserSelection() && ajaxplorer.getUserSelection().getSelectionSource() && ajaxplorer.getUserSelection().getSelectionSource().switchCurrentLabelToEdition) {
ajaxplorer.getUserSelection().getSelectionSource().switchCurrentLabelToEdition(callback);
Expand Down
Expand Up @@ -602,7 +602,7 @@ Class.create("PydioUI", {
}
}
};
connexion.sendSync();
connexion.sendAsync();
},


Expand Down

0 comments on commit c37c277

Please sign in to comment.