Lines 1841-1857
legend:hover {
Link Here
|
1841 |
let new_field = orig_li.clone(); |
1841 |
let new_field = orig_li.clone(); |
1842 |
new_field.children('label').each(function(){ |
1842 |
new_field.children('label').each(function(){ |
1843 |
let child_input = $(this).children('input'); |
1843 |
let child_input = $(this).children('input'); |
1844 |
child_input.attr("id",child_input.attr("id") + "_qa"); |
1844 |
child_input.attr("id",child_input.attr("id") + "_quick_add"); |
1845 |
}); |
1845 |
}); |
1846 |
new_field.appendTo("#quick_add_list"); |
1846 |
new_field.appendTo("#quick_add_list"); |
1847 |
} else { |
1847 |
} else { |
1848 |
let orig_input_id = orig_li.children("input,textarea,select").attr("id"); |
1848 |
let orig_input_id = orig_li.children("input,textarea,select").attr("id"); |
1849 |
console.log( orig_input_id); |
|
|
1850 |
let new_field = orig_li.clone(); |
1849 |
let new_field = orig_li.clone(); |
1851 |
new_field.children("#"+orig_input_id).attr("id",orig_input_id + "_qa"); |
1850 |
new_field.children("#"+orig_input_id).attr("id",orig_input_id + "_quick_add"); |
1852 |
new_field.appendTo("#quick_add_list"); |
1851 |
new_field.appendTo("#quick_add_list"); |
1853 |
[% UNLESS mandatorypassword %] |
1852 |
[% UNLESS mandatorypassword %] |
1854 |
if( input_label == 'password' ) $("#entryform label[for='password2']").parent().clone().appendTo("#quick_add_list"); |
1853 |
if( input_label == 'password' ){ |
|
|
1854 |
let orig_p2 = $("#entryform label[for='password2']").parent(); |
1855 |
let new_p2 = orig_p2.clone(); |
1856 |
new_p2.find('input[id="password2"]').attr("id","password2_quick_add"); |
1857 |
new_p2.appendTo("#quick_add_list"); |
1858 |
} |
1855 |
[% END %] |
1859 |
[% END %] |
1856 |
} |
1860 |
} |
1857 |
} |
1861 |
} |
1858 |
- |
|
|