Lines 24-30
$(document).ready(function(){
Link Here
|
24 |
row = row.replace("row","hint"); |
24 |
row = row.replace("row","hint"); |
25 |
var editor = $(this).parent().find("[name='field_value']"); |
25 |
var editor = $(this).parent().find("[name='field_value']"); |
26 |
if ($(this).is(":checked")) { |
26 |
if ($(this).is(":checked")) { |
27 |
$(this).val($(this).siblings("[name='subfield']").val()); |
|
|
28 |
$(editor).prop('disabled', true); |
27 |
$(editor).prop('disabled', true); |
29 |
$("#"+row).html(_("This subfield will be deleted")); |
28 |
$("#"+row).html(_("This subfield will be deleted")); |
30 |
} else { |
29 |
} else { |
31 |
- |
|
|