# 8.0.13 closePopup() not working

**URL:** <https://forum.inductiveautomation.com/t/8-0-13-closepopup-not-working/35626>\
**Category:** Ignition Early Access\
**Created:** [June 14, 2020, 3:28am UTC](https://forum.inductiveautomation.com/t/8-0-13-closepopup-not-working/35626 "2020-06-14T03:28:07Z")\
**Posts on this page:** 6\
**Page:** 2

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [March 2, 2021, 3:55pm UTC](https://forum.inductiveautomation.com/t/8-0-13-closepopup-not-working/35626/21 "2021-03-02T15:55:39Z")

</div>

Damn, I didn’t notice I put self there. I know it’s perspective, I’ve even used it for openPopup()…  
I guess my brain just went off today.

Also, I kinda wish I could check gateway logs. But they don’t work, which is another problem I need to fix…

Thanks for the super fast reply !

---

<div class="post-metadata">

**Author:** ![gdube](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gdube/32/41701_2.png) [@gdube](https://forum.inductiveautomation.com/u/gdube)\
**Post date:** [January 6, 2022, 8:21pm UTC](https://forum.inductiveautomation.com/t/8-0-13-closepopup-not-working/35626/22 "2022-01-06T20:21:42Z")

</div>

Sorry to reanimate this thread, but if closePopup(‘id’) closes the popup with the specified ID, and closePopup(’’) closes the most recently opened popup, what does closePopup() do?

I’m wondering because in v8.1.13, I tried within a click event the action `Popup Action->Close` with an empty ID and it doesn’t do anything, same as system.perspective.closePopup(), and I’m wondering if they are somehow related.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 6, 2022, 8:40pm UTC](https://forum.inductiveautomation.com/t/8-0-13-closepopup-not-working/35626/23 "2022-01-06T20:40:06Z")

</div>

`closePopup()` with no argument is not allowed.

---

<div class="post-metadata">

**Author:** ![gdube](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/gdube/32/41701_2.png) [@gdube](https://forum.inductiveautomation.com/u/gdube)\
**Post date:** [January 6, 2022, 9:22pm UTC](https://forum.inductiveautomation.com/t/8-0-13-closepopup-not-working/35626/24 "2022-01-06T21:22:00Z")

</div>

Alright. Is the action `Popup->Close` with an empty ID allowed?

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/f/cf06167a392214841d146457342eb66c93ad9ed7.png)

This is for a button on a view created to be displayed as a popup.

---

<div class="post-metadata">

**Author:** ![danieltalbot](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/danieltalbot/32/11201_2.png) [@danieltalbot](https://forum.inductiveautomation.com/u/danieltalbot)\
**Post date:** [January 6, 2022, 10:01pm UTC](https://forum.inductiveautomation.com/t/8-0-13-closepopup-not-working/35626/25 "2022-01-06T22:01:19Z")

</div>

I think you can put ‘’ in there. Might be mistaken. I usually close my popups with a script and system.perspective.closePopup(’’)

---

<div class="post-metadata">

**Author:** ![TonyD\_MM2](https://avatars.discourse-cdn.com/v4/letter/t/dec6dc/32.png) [@TonyD\_MM2](https://forum.inductiveautomation.com/u/TonyD_MM2)\
**Post date:** [August 17, 2025, 11:59pm UTC](https://forum.inductiveautomation.com/t/8-0-13-closepopup-not-working/35626/26 "2025-08-17T23:59:37Z")

</div>

It’s working for me, unless the dev ghestapo come after me (JK guys :))

[Previous page](https://forum.inductiveautomation.com/t/8-0-13-closepopup-not-working/35626.md?page=1)
