Permalink
Browse files

Definitely set submitForm to POST by default

  • Loading branch information...
1 parent 27bd899 commit 512aeb0dac48932cabb889b618143d7fcac502d1 @cdujeu cdujeu committed May 26, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/plugins/gui.ajax/res/js/es6/http/PydioApi.es6
@@ -514,7 +514,7 @@ class PydioApi{
* @param post Boolean Whether to POST or GET
* @param completeCallback Function Callback to be called on complete
*/
- submitForm(formName, post, completeCallback)
+ submitForm(formName, post = true, completeCallback = null)
{
var params = {};
// TODO: UI IMPLEMENTATION

0 comments on commit 512aeb0

Please sign in to comment.