-
Notifications
You must be signed in to change notification settings - Fork 502
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[B] jqueryui-datepicker fails on Google translated pages #2036
Comments
I think we should also do validation in backend |
@githubertus I got it translating the page from english to english. I also tried adding the "notranslate" class to the input, and it didn't change the NaN/NaN/NaN from the field. Was curious to know if you got it to work at all? |
@michieal depending on what version of OSSN you are running and did you verified if your birthdate field have notranslate class? |
Ossn 6.1; And I specifically added (and checked in the page source) the notranslate class. |
@michieal You should check if the change effects the actual element you can use browser view source code to see. |
Not sure then what is cause if no translate class is there. Need to check
|
The "notranslate" class was added to the text input / textarea for the Birthdate field (that's read only). It filled it with NaN's when translated. |
@githubertus -- I used my beta site, not my live site. |
I added this to the profile js: And I also tried this in ossn.lib.users: |
Ok, and your beta site is a clean Ossn 6.x without any enabled extras? |
The "notranslate" class was added to the text input / textarea for the Birthdate field (that's read only). It filled it with NaN's when translated.
uhm, not really. my beta site is the last testing zone before making things live. I dev on a vm, but I found out the hard way that there are differences between the vm and it being in the wild; so I made a mostly wild back up copy of the live site to test it one last time before making it live. Only I have access to the beta, as I don't want complete screw ups to be seen... kinda breaks the mystique if others see abject fails on a daily basis. lol |
Well, I think we should end the discussion here. This is a place to report and fix bugs occurring in PLAIN VANILLA Ossn, and not in a whatsoever customized derivative. The more if we have no access to it. |
I was wondering already some weeks which way people managed to register with a birthdate like
NaN/NaN/NaN
Finally, I found the explanation here: https://bugs.jqueryui.com/ticket/8266
And actually you'll get it on an English page translated to German ...
Possible fix: https://sarathlal.com/stop-google-from-translating-datepicker-input-field/
The text was updated successfully, but these errors were encountered: