Results 1 to 2 of 2

Thread: 5.2.0d Javascript Include Problems

  1. #1
    URtech is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    34

    Default 5.2.0d Javascript Include Problems

    After upgrading to 5.2.0d, has anyone experienced any problems with javascript includes defined in detailviewdefs.php or editviewdefs.php files when using an includes definition such as:

    'includes'=> array(
    array('file'=>'modules/CUSTOM_MODULE_NAME/fn/custom_detailview.js'),
    ),

    Best, Sean

  2. #2
    URtech is offline Sugar Community Member
    Join Date
    Oct 2006
    Posts
    34

    Default Re: 5.2.0d Javascript Include Problems

    I figured this one out. It looks like there was a bug that was fixed in the way custom displayParams "field" values such as styles and onClick/onChange events were rendered in 5.2.0d. I had previously had to add extra quotes to the declaration as a workaround to get things to function as expected prior to 5.2.0d. After removing the extra quotes hack, all is good.

    Cheers, Sean

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. How can I include language specific JavaScript?
    By Skeeve in forum Developer Help
    Replies: 0
    Last Post: 2008-08-26, 01:47 PM
  2. Where to include JavaScript?
    By tbivans in forum Developer Help
    Replies: 1
    Last Post: 2007-03-27, 07:46 AM
  3. Replies: 2
    Last Post: 2006-05-02, 01:21 PM
  4. Patch: Sugar 4.2.0/Safari Javascript problems
    By sitharus in forum Developer Help
    Replies: 2
    Last Post: 2006-04-19, 09:54 PM
  5. javascript problems on Account module
    By schipman in forum General Discussion
    Replies: 6
    Last Post: 2005-10-28, 11:44 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •