Lines 148-154
Link Here
|
148 |
send_update_request( data, this ); |
148 |
send_update_request( data, this ); |
149 |
}); |
149 |
}); |
150 |
|
150 |
|
151 |
$("a.delete").on('click', function(){ |
151 |
$("a.delete").on('click', function(e){ |
|
|
152 |
e.preventDefault(); |
152 |
if ( confirm(_("Are you sure you want to delete this translation?")) ) { |
153 |
if ( confirm(_("Are you sure you want to delete this translation?")) ) { |
153 |
var td = $(this).parent(); |
154 |
var td = $(this).parent(); |
154 |
var tr = $(td).parent(); |
155 |
var tr = $(td).parent(); |
Lines 226-232
Link Here
|
226 |
<td>[% t.code %]</td> |
227 |
<td>[% t.code %]</td> |
227 |
<td class="lang">[% t.lang %]</td> |
228 |
<td class="lang">[% t.lang %]</td> |
228 |
<td class="translation" contenteditable="true">[% t.translation %]</td> |
229 |
<td class="translation" contenteditable="true">[% t.translation %]</td> |
229 |
<td><a class="delete" title="Delete this translation"><i class="icon-remove"></i></a</td> |
230 |
<td class="actions"><a href="#" class="delete"><i class="fa fa-trash"></i> Delete</a></td> |
230 |
</tr> |
231 |
</tr> |
231 |
[% END %] |
232 |
[% END %] |
232 |
</tbody> |
233 |
</tbody> |
233 |
- |
|
|