1 (edited by kvvaradha 10/13/2015 06:25:23 am)

Topic: Can't Use file_row function to set customer profile Pic?

hi joe,

i tried to customize the csutomer profile by adding few items, everything works fine except the profile image of the customer. Actually, it create js error

here is the line of code i used.

file_row(_("Image File (.jpg)") . ":", 'pic', 'pic');    

and js error is

Uncaught Error: JsHttpRequest: Cannot find a loader which may process the request. Notices are:
- XML: Cannot use XMLHttpRequest loader: direct form elements using and uploading are not implemented
- SCRIPT: Cannot use SCRIPT loader: it supports on...<omitted>...n. JsHttpRequest.js:56
JsHttpRequest.t._error JsHttpRequest.js:56
JsHttpRequest.t.send JsHttpRequest.js:41
JsHttpRequest.query JsHttpRequest.js:86
JsHttpRequest._request utils.js:15
JsHttpRequest.request utils.js:6
_set_combo_select.e.onchange

and when i remove this line

file_row() everything works fine.

Subscription service based on FA
HRM CRM POS batch Themes

Re: Can't Use file_row function to set customer profile Pic?

Which browser and version are you using?
Which version of FA are you using?
What platform are you using?
Have you used the latest snapshot from the Mercurial repo?