jQWidgets Forums

jQuery UI Widgets Forums Plugins AngularJS jqxFileUpload and event uploadEnd Reply To: jqxFileUpload and event uploadEnd

jqxFileUpload and event uploadEnd #83964

siami
Participant

Hi Dimitar,

My working version of jQWidgets was 4.0.0. I tested your code with version 4.1.2. but result is the same:

Chromium browser (under Ubuntu 14.04.2 LTS) returns these errors:

POST file:///home/samuel_lefkovits/Tmp/admin3an/test net::ERR_FILE_NOT_FOUND jqxfileupload.js:7
a.extend._uploadFile @ jqxfileupload.js:7
a.extend.uploadAll @ jqxfileupload.js:7
(anonymous function) @ jqxfileupload.js:7
m.event.dispatch @ jquery-1.11.1.min.js:3
r.handle @ jquery-1.11.1.min.js:3

Uncaught SecurityError: Failed to read the ‘contentDocument’ property from jquery-1.11.1.min.js:2
‘HTMLIFrameElement’: Blocked a frame with origin “null” from accessing a frame with origin “null”. The frame requesting access has a protocol of “file”, the frame being accessed has a protocol of “data”. Protocols must match.
m.each.contents @ jquery-1.11.1.min.js:2
m.extend.map @ jquery-1.11.1.min.js:2
m.each.m.fn.(anonymous function) @ jquery-1.11.1.min.js:2
(anonymous function) @ jqxfileupload.js:7
m.event.dispatch @ jquery-1.11.1.min.js:3
m.event.add.r.handle @ jquery-1.11.1.min.js:3

It seems, path to the chosen file is incorrect.

br,
Samuel