I need to close a popup window in Salesforce1.

When it opens in a normal browser, the popup is closed using Window.close()

But in case of Salesforce1(App Browser), the Window.close() does not work. Is there any workaround to close the popup?

  • Did you find an answer to this? – Lx123 Apr 26 '16 at 19:52

When you say Salesforce1, are you trying this on a real device or in emulated mode on a browser (using the /one/one.app suffix)? If there are any errors, it should show up in the console log.

Else, you should try the following



| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.