Can't add Language Variables in any browser except IE
Only IE is adding language variables on master. I checked locally and on training server updated to latest code.
http://screencast.com/t/rSfhNvipWqbO
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?
I tested again after clearing all caches in Safari and Firefox... same result: http://screencast.com/t/qXlhVF9qrZ
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.
Tested all 4 browsers in mac... and chrome and IE on windows... all good
Fixed, now you can add new language variables from all the browsers