Commit 3a40f522 authored by Aghiles's avatar Aghiles
Browse files

Merge branch 'master' of https://gitlab.utc.fr/crozatst/hdoc

parents d3ae7da6 9a86fc0e
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<script type="text/javascript"> <script type="text/javascript">
function request() { function request() {
$.ajax({ $.ajax({
url: config.url + "/" + config.collection + "/?" + decodeURI(document.location.href.split('#')[1]), url: config.url + "/" + config.collection + "/?" + document.location.href.split('#')[1],
type: 'get', type: 'get',
dataType: 'jsonp', dataType: 'jsonp',
jsonp: 'jsonp', // mongod is expecting the parameter name to be called "jsonp" jsonp: 'jsonp', // mongod is expecting the parameter name to be called "jsonp"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment