From: webERP D. <web...@li...> - 2013-07-18 14:22:37
|
*Hi, Tim:* Thank you for your comments! I've fixed it now. The negative mark is allowed for input and a hidden field is created to hold the Lang variable. Thank you again. Best regards! Exson TimSchofield2 wrote > > ExsonQu wrote * >> Dear all: * >> >> I've revised validation of number class features based on Tim's >> job. >> 1) In step1, users cannot input ',. ' on a row. >> 2) an onchange function was added to validate user's input via >> their locale. >> >> I've commit these changes to svn. >> >> Any comments are highly appreciated! >> >> Thank you for the help from all of you! >> >> Best regards! >> >> Exson > Hi Exson, > > This is great work. > > A couple of pointers. I think you have accidentally removed the ability to > put in negative numbers. In the rTN() function, the string should read > ("0123456789.,-"). > > Secondly By using LanguageSetup.php to create the JavaScript variable Lang > you are outputting the script before the headers. By looking at the > generated html you will see this: > > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > <html xmlns="http://www.w3.org/1999/xhtml"> > <head> > This will mean that all reports will refuse to run, and also has some > undesirable UI affects, (you will probably notice that the fonts have > grown!). > > This code is better placed in header.inc just before MiscFunctions.js gets > included. > > Hope this helps, > Tim -- View this message in context: http://weberp-accounting.1478800.n4.nabble.com/Intention-to-roll-up-new-version-and-future-plans-tp4656547p4656612.html Sent from the web-ERP-developers mailing list archive at Nabble.com. |