fixed remove template action. Registration was missing in struts.xml.#58
fixed remove template action. Registration was missing in struts.xml.#58mbien wants to merge 1 commit intoapache:masterfrom
Conversation
|
How do I reproduce the problem that is fixed by this PR? When I go to the templates page and click the trash-can to remove a template I get a client-side (non struts) popup that asks "Are you sure you want to remove this template" and the removal is successful. |
|
interesting. If its working something might be wrong with my repository. When i pressed trashcan->ok it didn't remove it and the log complained about undefined action. i think i found the issue, I should have be using the 6.0.x branch, right? I have master built and running. master: 6.0.x: i am sorry if i caused confusion. Feel free to ignore this PR. |
looks like master has a few commits missing, for example: closing this pull request since its redundant with this commit applied. |
Hello Dave,
It appears that a past commit intended to remove the templatesRemove action but removed templateRemove too (44b008d#diff-207d6f47f5499d9694104c3640c3b379 ).
So i added it again and the action is working again. Since the confirm dialog seems to be client side now I left the cancel/redirect lines out.