core icon indicating copy to clipboard operation
core copied to clipboard

Can't add Language Variables in any browser except IE

Open DeanGonzalez opened this issue 13 years ago • 5 comments

Only IE is adding language variables on master. I checked locally and on training server updated to latest code.

http://screencast.com/t/rSfhNvipWqbO

DeanGonzalez avatar Mar 18 '13 20:03 DeanGonzalez

Reproduced this on latest master + Postgres + Chrome/Firefox. Also reproduced on Support Portal, using Chrome. Unable to reproduce on IE because I'm running Ubuntu Linux.

The issue here is that the LanguageAjax.saveKeys method is not being hit unless we put some breakpoints in the javascript code that calls this method

LanguageAjax.saveKeys(currentLanguage,currentCountry,keysToAdd,keysToUpdate,keysToDelete,saveKeysCallback);

We can use Firebug in Firefox or Chrome Inspector to do this. After debugging, the language key is saved properly and the page is refreshed with the added keys.

For some reason, DWR is working as expected only on IE and not on the rest of the browsers. Any thoughts about this?

joseorsini avatar Mar 26 '13 20:03 joseorsini

I tested again after clearing all caches in Safari and Firefox... same result: http://screencast.com/t/qXlhVF9qrZ

DeanGonzalez avatar Mar 26 '13 20:03 DeanGonzalez

Removed code in commited file is not necessary because the saveKeysCallback method already handles the redirect after saving the new keys via LanguageAjax. Tested using Chrome and Firefox and the new keys are saved.

joseorsini avatar Mar 28 '13 15:03 joseorsini

Tested all 4 browsers in mac... and chrome and IE on windows... all good

DeanGonzalez avatar Apr 01 '13 20:04 DeanGonzalez

Fixed, now you can add new language variables from all the browsers

bryanboza avatar Apr 01 '13 20:04 bryanboza