Anclient.js Troubleshotings
Trouble | Shooting | |
---|---|---|
CROS | ||
Click function menu item not work.
The browser report postMessage error. Here is an example from Chrome log: Failed to execute 'postMessage' on 'DOMWindow':
The target origin provided ('file://') does not match the recipient
window's origin ('null').
|
This should only happens for EasyUI version. The easyui version using Postmate to communicate between main page (the menue manager) and the content iframe. If the html page is opened from file system, the cross domain policy blocked this communication. To dissable the security checking, start chorme like this:google-chrome --allow-file-access-from-files
--allow-file-access --allow-cross-origin-auth-prompt
|