|
Lines 201-208
function editAction( mmta_id, ordering, action, field_number, from_field, from_s
Link Here
|
| 201 |
|
201 |
|
| 202 |
document.getElementById('description').value = description; |
202 |
document.getElementById('description').value = description; |
| 203 |
|
203 |
|
| 204 |
window.modaction_legend_innerhtml = document.getElementById('modaction_legend').innerhtml; |
204 |
window.modaction_legend_innerhtml = document.getElementById('modaction_legend').innerHTML; |
| 205 |
document.getElementById('modaction_legend').innerhtml = _("Edit action%s").format(ordering); |
205 |
document.getElementById('modaction_legend').innerHTML = _("Edit action %s").format(ordering); |
| 206 |
|
206 |
|
| 207 |
window.action_submit_value = document.getElementById('action_submit').value; |
207 |
window.action_submit_value = document.getElementById('action_submit').value; |
| 208 |
document.getElementById('action_submit').value = _("Update action"); |
208 |
document.getElementById('action_submit').value = _("Update action"); |
|
Lines 241-247
function cancelEditAction() {
Link Here
|
| 241 |
|
241 |
|
| 242 |
document.getElementById('conditional_regex').checked = false; |
242 |
document.getElementById('conditional_regex').checked = false; |
| 243 |
|
243 |
|
| 244 |
document.getElementById('modaction_legend').innerhtml = window.modaction_legend_innerhtml; |
244 |
document.getElementById('modaction_legend').innerHTML = window.modaction_legend_innerhtml; |
| 245 |
document.getElementById('action_submit').value = window.action_submit_value; |
245 |
document.getElementById('action_submit').value = window.action_submit_value; |
| 246 |
|
246 |
|
| 247 |
hide('cancel_edit'); |
247 |
hide('cancel_edit'); |
| 248 |
- |
|
|