Hello,
I am using sugar crm community edition 6.5.17.
I create new custome module and create one javascript for show and hide.
but its not working.
Can anybody guide's me how to call .js file in editviewdefs and when i can put .js file.
Hello,
I am using sugar crm community edition 6.5.17.
I create new custome module and create one javascript for show and hide.
but its not working.
Can anybody guide's me how to call .js file in editviewdefs and when i can put .js file.
As far as I know, you can use YUI Event in this js file like "onContentReady". Here is one example on YUI:
YUI Library Examples: Event Utility: Using onAvailable, onContentReady, and onDOMReady
More details about js / ajax:
Improving SugarCRM client-side performance: The SugarCRM AjaxUI « Sugar Developer Blog – SugarCRM
Your custom js file should be placed on custom/modules/<Yourmodule>/<YourCustomFile>.js
Here is how to include the file in editviewdefs.php
Adding javascript files to Edit and Detail Views « Sugar Developer Blog – SugarCRM
Hello Emil,
Thanx for your reply.
There is a permission issue.
After give 0777 permission on editviewdefs.php its working.