Hi there,
On the frontend, when using the item editor there's a problem,
the cancel button (Annuleren in Dutch) does not work.
I might have found the place in the HTML code:
Actual code, Joomla! v3.2 - K2 v2.6.7
<tr>
<td class="button" id="toolbar-save">
<a onclick="Joomla.submitbutton('save'); return false;" href="#" class="toolbar">
<span class="icon-32-save icon-save" title="Opslaan"></span> Opslaan </a>
</td>
<td class="button" id="toolbar-cancel">
<a href="#" class="toolbar">
<span class="icon-32-cancel icon-cancel" title="Annuleren"></span> Sluiten </a>
</td>
</tr>
Change this line:
<a href="#" class="toolbar">
To:
<a onclick="Joomla.submitbutton('cancel');" href="#" class="toolbar">
I still have to figure out what to change in the K2 (php?) file.
Maybe a developer for the K2 project can help? I don't know if my solution
is correct (for example, do I need to add return true or false???)
Thank you in advance for your time and effort!!!
Derk
On the frontend, when using the item editor there's a problem,
the cancel button (Annuleren in Dutch) does not work.
I might have found the place in the HTML code:
Actual code, Joomla! v3.2 - K2 v2.6.7
<tr>
<td class="button" id="toolbar-save">
<a onclick="Joomla.submitbutton('save'); return false;" href="#" class="toolbar">
<span class="icon-32-save icon-save" title="Opslaan"></span> Opslaan </a>
</td>
<td class="button" id="toolbar-cancel">
<a href="#" class="toolbar">
<span class="icon-32-cancel icon-cancel" title="Annuleren"></span> Sluiten </a>
</td>
</tr>
Change this line:
<a href="#" class="toolbar">
To:
<a onclick="Joomla.submitbutton('cancel');" href="#" class="toolbar">
I still have to figure out what to change in the K2 (php?) file.
Maybe a developer for the K2 project can help? I don't know if my solution
is correct (for example, do I need to add return true or false???)
Thank you in advance for your time and effort!!!
Derk