equal
deleted
inserted
replaced
407 } |
407 } |
408 |
408 |
409 var jsonString = JSON.stringify(apiJson); |
409 var jsonString = JSON.stringify(apiJson); |
410 var project_id = this._serializer._data.meta.id; |
410 var project_id = this._serializer._data.meta.id; |
411 |
411 |
412 var url = Mustache.to_html("{{platf_url}}/ldtplatform/api/ldt/projects/{{id}}.json", |
412 //TODO: extract magic url |
|
413 var url = Mustache.to_html("{{platf_url}}/ldtplatform/api/ldt/annotations/{{id}}.json", |
413 {platf_url: IriSP.platform_url, id: project_id}); |
414 {platf_url: IriSP.platform_url, id: project_id}); |
414 |
415 |
415 IriSP.jQuery.ajax({ |
416 IriSP.jQuery.ajax({ |
416 url: url, |
417 url: url, |
417 type: 'PUT', |
418 type: 'PUT', |