natecavanaugh/liferay-portal — pull request #2403 by mjbradford89 (2014-05-05 20:16:35+00:00)
Title: LPS-43967 - DDL - Iframe remains open after clicking to Add a translation to a Record

Hi Nate,

Attached is an update for https://issues.liferay.com/browse/LPS-43967.

I made the changes you recommended in https://github.com/natecavanaugh/liferay-portal/pull/2398.

I had originally had the postProcessTranslation function conditionally defined so that it wasn't possible to have a function with the same name defined twice, once for the parent window and once for the iframe. But I didn't realize this wouldn't be an issue because they would be attached to a different window object anyway. So I moved ``` if (!translating) ``` inside the body of the function as you suggested.

Please let me know if there are any other issues.

Thanks!