# Undo Button

**URL:** <https://community.glideapps.com/t/undo-button/3570>\
**Category:** Ask for Help\
**Created:** [January 13, 2020, 5:59pm UTC](https://community.glideapps.com/t/undo-button/3570 "2020-01-13T17:59:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![garrettb34](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/garrettb34/32/2145_2.png) [@garrettb34](https://community.glideapps.com/u/garrettb34)\
**Post date:** [January 13, 2020, 5:59pm UTC](https://community.glideapps.com/t/undo-button/3570/1 "2020-01-13T17:59:20Z")

</div>

Is there any such thing as an undo button with Glide?

I copied a template with a lot of scripts and am just editing a few aspects of it for a client. And if I accidentally click back on the page or switch to a different view and then back to the original all the scripts and everything is gone and there’s no undo buttons, save buttons, etc. I’ve recreated the app 5 times and if I make any small mistake I have to restart all over yet again.

---

<div class="post-metadata">

**Author:** ![david](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/david/32/62831_2.png) [@david](https://community.glideapps.com/u/david)\
**Post date:** [January 13, 2020, 6:13pm UTC](https://community.glideapps.com/t/undo-button/3570/2 "2020-01-13T18:13:41Z")

</div>

Did you actually copy the template to your apps first? If you edit templates before copying them, your changes are never saved and you’ll experience what you’re describing.

---

<div class="post-metadata">

**Author:** ![garrettb34](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/garrettb34/32/2145_2.png) [@garrettb34](https://community.glideapps.com/u/garrettb34)\
**Post date:** [January 13, 2020, 10:24pm UTC](https://community.glideapps.com/t/undo-button/3570/3 "2020-01-13T22:24:22Z")

</div>

Yes, I always copy it over first and save it. Say I accidentally delete a line of code or something from a box, markdown text, etc. How would I go back and undo that and get it to reappear?

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [January 13, 2020, 11:39pm UTC](https://community.glideapps.com/t/undo-button/3570/4 "2020-01-13T23:39:36Z")

</div>

There is no undo button at this time. What exactly do you mean by “scripts”? Do you mean changes to components?

---

<div class="post-metadata">

**Author:** ![garrettb34](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/garrettb34/32/2145_2.png) [@garrettb34](https://community.glideapps.com/u/garrettb34)\
**Post date:** [January 14, 2020, 12:13am UTC](https://community.glideapps.com/t/undo-button/3570/5 "2020-01-14T00:13:32Z")

</div>

Yes, components, visibility, conditions etc.

For example the Instagram app, If I look to see the different layouts for the “Your profile” tab for lets say compact list or the checklist styles and then come back to the default details style all of the rich texts, conditions, and whole buttons themselves completely disappear where those features were attached to the back.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [January 14, 2020, 12:21am UTC](https://community.glideapps.com/t/undo-button/3570/6 "2020-01-14T00:21:08Z")

</div>

Yes, you have to be really careful when changing the style layout. Many people have ran into the same issue. Once you do it you never forget. 😉 I’m hoping that in the future, Glide will eventually save the layout for each style, or at the very least, give a warning that the layout will be lost.

---

<div class="post-metadata">

**Author:** ![Jeff\_Hager](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/jeff_hager/32/43_2.png) [@Jeff\_Hager](https://community.glideapps.com/u/Jeff_Hager)\
**Post date:** [January 14, 2020, 4:24am UTC](https://community.glideapps.com/t/undo-button/3570/7 "2020-01-14T04:24:26Z")

</div>

Looks like they are releasing an update tomorrow:

> [@Detail](https://community.glideapps.com/t/detail/3568/3):
>
> Yes, it should be released tomorrow.
