Revision abac79b7
Von Thomas Heck vor etwa 12 Jahren hinzugefügt
templates/webpages/ct/_contact.html | ||
---|---|---|
142 | 142 |
</table> |
143 | 143 |
|
144 | 144 |
[% IF cp_id %] |
145 |
<input type="button" id="delete_contact" onclick="submitInputBitton(this);" name="action" value="[% 'Delete Contact' | $T8 %]">
|
|
145 |
<input type="button" id="delete_contact" onclick="submitInputButton(this);" name="action" value="[% 'Delete Contact' | $T8 %]">
|
|
146 | 146 |
[% END %] |
147 | 147 |
|
148 | 148 |
<br style="clear: left" /> |
templates/webpages/ct/form_footer.html | ||
---|---|---|
38 | 38 |
function enable_delete_shipto(used) { var s=document.getElementById('delete_shipto'); if (s) s.disabled = (used > 0 ? true : false); } |
39 | 39 |
function enable_delete_contact(used){ var s=document.getElementById('delete_contact'); if (s) s.disabled = (used > 0 ? true : false); } |
40 | 40 |
|
41 |
function submitInputBitton(button)
|
|
41 |
function submitInputButton(button)
|
|
42 | 42 |
{ |
43 | 43 |
var hidden = document.createElement("input"); |
44 | 44 |
hidden.setAttribute("type", "hidden"); |
Auch abrufbar als: Unified diff
Das muss
natürlichButton heißen