Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bug 382381 - Hello world sample files are empty (0.5RC1)

  • Loading branch information...
commit b4e936004ac1d9cdda62af30300b4179b17be12f 1 parent cf66b01
@jarthorn jarthorn authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  bundles/org.eclipse.orion.client.core/web/orion/xhr.js
View
2  bundles/org.eclipse.orion.client.core/web/orion/xhr.js
@@ -69,7 +69,7 @@ define(['orion/Deferred'], function(Deferred) {
if (typeof headers['X-Requested-With'] === 'undefined') { //$NON-NLS-1$ //$NON-NLS-0$
headers['X-Requested-With'] = 'XMLHttpRequest'; //$NON-NLS-1$ //$NON-NLS-0$
}
- if (options.query && typeof options.query === 'object' && method === 'GET') { //$NON-NLS-1$ //$NON-NLS-0$
+ if (options.query && typeof options.query === 'object') { //$NON-NLS-0$
var queryObj = options.query, paramNames = Object.keys(queryObj);
var queryBuf = [];
for (i=0; i < paramNames.length; i++) {
Please sign in to comment.
Something went wrong with that request. Please try again.