Results 1 to 2 of 2
Like Tree1Likes
  • 1 Post By crmonline

Thread: changes in sugaremailaddress.js files are overriden after 'repair JS files'

  1. #1
    rodnikosh Guest

    Default changes in sugaremailaddress.js files are overriden after 'repair JS files'

    i made a small change in the email field. the change is that it will be LTR although my sugar is RTL.
    i edited a line in Include/sugarrmailaddress/sugaremailaddress.js file and rebuild.
    it solved the problem and it worked fine.

    but when i repaired all javascript files for another development using the admin --> repair --> Repair JS Files
    the changes in sugaremailaddress.js were gone.

    how can i keep the changes in sugaremailaddress.js file?
    where is the source of the JS code of sugaremailaddress.js so i'll change it there... (where does it take it from?)

  2. #2
    crmonline's Avatar
    crmonline is offline Sugar Community Member
    Join Date
    Dec 2010
    Perth, Sydney, Melbourne and Manila

    Default Re: changes in sugaremailaddress.js files are overriden after 'repair JS files'

    Hi Rodni,

    This is the source file - it's likely that you've just not saved the changes. If you're making changes in the custom or cache directory, these can get overwritten, but not in the include directory from a repair. However, editing that file is a bad idea and will end up locking you into your current version of SugarCRM as opposed to making it upgrade friendly - just a word of warning on that front.
    rodnikosh likes this.
    Best Regards,
    Glenn Richmond

    T: +61 8 9415 1366 F: +61 8 9415 1367
    CRM Online Australia Pty Ltd
    Follow us on Twitter:
    Latest News on Linkedin:
    Videos on Youtube:

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to repair corrupt zip files database?
    By Kavin Thomash in forum General Discussion
    Replies: 12
    Last Post: 2014-01-22, 05:58 AM
  2. Replies: 1
    Last Post: 2012-05-04, 02:05 PM
  3. Replies: 3
    Last Post: 2011-02-08, 12:51 PM
  4. Rebuild JS Grouping Files/Repair JS Files
    By shyam007 in forum Developer Help
    Replies: 0
    Last Post: 2010-04-06, 07:46 AM
  5. Replies: 2
    Last Post: 2008-09-24, 10:08 AM

Tags for this Thread


Posting Permissions

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