</table>
[% IF cp_id %]
- <input type="button" id="delete_contact" onclick="submitInputBitton(this);" name="action" value="[% 'Delete Contact' | $T8 %]">
+ <input type="button" id="delete_contact" onclick="submitInputButton(this);" name="action" value="[% 'Delete Contact' | $T8 %]">
[% END %]
<br style="clear: left" />
function enable_delete_shipto(used) { var s=document.getElementById('delete_shipto'); if (s) s.disabled = (used > 0 ? true : false); }
function enable_delete_contact(used){ var s=document.getElementById('delete_contact'); if (s) s.disabled = (used > 0 ? true : false); }
- function submitInputBitton(button)
+ function submitInputButton(button)
{
var hidden = document.createElement("input");
hidden.setAttribute("type", "hidden");