Results 1 to 4 of 4

Thread: 5.0.0b: Calls - duration can't be zero anymore? Why?

  1. #1
    al3
    al3 is offline Sugar Community Member
    Join Date
    Aug 2007
    Posts
    394

    Default 5.0.0b: Calls - duration can't be zero anymore? Why?

    Someone made a change in 5.0.0b such that when you enter a Call record it won't save unless the duration is something other than zero. It was not like this in 4.x or 5.a. Is there a way to un-do that... not make it a required field?

    Thanks,
    Al

  2. #2
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: 5.0.0b: Calls - duration can't be zero anymore? Why?

    In /modules/Calls/metadata/editviewdefs.php line #107 the javascript funktion isValidDuration() is defined.
    Just change it to yours needs.

  3. #3
    al3
    al3 is offline Sugar Community Member
    Join Date
    Aug 2007
    Posts
    394

    Default Re: 5.0.0b: Calls - duration can't be zero anymore? Why?

    Quote Originally Posted by kuske
    In /modules/Calls/metadata/editviewdefs.php line #107 the javascript funktion isValidDuration() is defined.
    Just change it to yours needs.
    Thanks.

    Correct me if I'm wrong but when you change the code in Sugar, the next time there is a major patch or upgrade it could/will get wiped out, right?

    Al

  4. #4
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: 5.0.0b: Calls - duration can't be zero anymore? Why?

    YES, it is.
    SO if you chnage the code, you should create an exact change documentation to find all patches you made by yourself.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 0
    Last Post: 2008-02-21, 03:50 PM
  2. Upgrade from 5.0.0a to 5.0.0b - calls list contact link error not fixed
    By lmcanada in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2008-02-18, 05:26 PM
  3. Change the default duration of calls
    By Iggi in forum General Discussion
    Replies: 2
    Last Post: 2007-06-08, 03:23 PM
  4. Strange Calls Dashlet Problem
    By atheimer98 in forum Help
    Replies: 0
    Last Post: 2006-12-05, 10:20 PM
  5. Pro - Calls on the fly - General call/task features
    By cbierwerth in forum Feature Requests
    Replies: 1
    Last Post: 2006-06-28, 02:29 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
  •