NetTalk Central

Author Topic: PR28 - EIP on string field containing #  (Read 3289 times)

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
PR28 - EIP on string field containing #
« on: August 09, 2010, 12:22:19 PM »
Hi,

I have an issue where EIP is not updating table field if it contains # character. Since part numbers for our users contain # it is quite an issue for us. When I remove # from the field EIP saves the changes correctly. Can anyone confirm? Is there any workaround?

thanks,
Alex

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: PR28 - EIP on string field containing #
« Reply #1 on: August 09, 2010, 10:59:29 PM »
Hi Alex,

I've duplicated, and fixed the problem for PR 29. That should go up today.

The problem is in the JavaScript file, so it's a tricky one for you to fix there - especially if you're not familiar with using the Gzipall Batch file to combine & compress the files.

If you are familiar with using GzipAll then the error is in netweb.js
around line 904 you should see 2 lines of code

                ans = ans.replace(/%/,"%25");
                ans = ans.replace(/&/,"%26");

after these add a third line

                ans = ans.replace(/#/,"%23");

Cheers
Bruce

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: PR28 - EIP on string field containing #
« Reply #2 on: August 09, 2010, 11:30:50 PM »
Hi Bruce,

many thanks for the fix.

Regards,
Alex