Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

"XMLHttpRequest cannot load http://localhost:8080/jw/web/json/workflow/process/start/simpleApproval:7:sampleImage Removed. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:9999' is therefore not allowed access."

When using the Javascript API : ConnectionManager.ajaxJsonp(url, callback, params), I am getting the error :

GET http://localhost:8080/jw/web/json/workflow/process/start/simpleApproval:7:sImage Removed…583_1417003571435&var_requester=asdasd&var_formname=asdasd&_=1417003574550 jquery-1.5.2.min.js:16

...

When using the Javascript API : ConnectionManager.ajaxJsonp(url, callback, params), I am getting the error :
GET http://localhost:8080/jw/web/json/workflow/process/start/simpleApproval:7:sImage Removed…583_1417003571435&var_requester=asdasd&var_formname=asdasd&_=1417003574550 jquery-1.5.2.min.js:16
send jquery-1.5.2.min.js:16
d.extend.ajax util.js:30
ConnectionManager.ajaxJsonp index.php:36
(anonymous function) jquery-1.5.2.min.js:16
d.event.handle jquery-1.5.2.min.js:16
k.handle.m"
Javascript API  ConnectionManager.post works when the external page is on the same domain as Joget but I cannot get ConnectionManager.ajaxJsonp to work. The same error always come out.

...