argnist / modDevTools

Tools for rapid development in MODX Revolution
15 stars 8 forks source link

Automatic Deletion #5

Open ghost opened 8 years ago

ghost commented 8 years ago

When you remove the last reference to a chunk it automatically deletes the chunk. This is not good. Just because I remove references to a chunk doesn't mean that I don't want to use it again somewhere else. At the least, it could ask me if I want to remove it.

ghost commented 8 years ago

I understand now, it only deletes it if it is still a "virtual" chunk, that is, it was never edited and saved in the normal manner. So it doesn't remove any chunk that has all of its references removed.