fixes #2838 Saving twice in the language manager throws javascript error
Merge pull request #2939 from dotCMS/issue-2838-Saving-twice-in-the-language-manager-throws-javascript-error

fixes #2838 Saving twice in the language manager throws javascript error