View | Details | Raw Unified | Return to bug 29303
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-5 / +12 lines)
Lines 1806-1815 legend:hover { Link Here
1806
                        input_label='title';
1806
                        input_label='title';
1807
                    }
1807
                    }
1808
                    if( qaddfields.indexOf( input_label ) != -1 || $(this).attr('class') == 'required' ){
1808
                    if( qaddfields.indexOf( input_label ) != -1 || $(this).attr('class') == 'required' ){
1809
                       $(this).parent().clone().appendTo("#quick_add_list");
1809
                       var this_id = $(this).siblings().attr('id');
1810
                       [% UNLESS mandatorypassword %]
1810
                       if ( this_id ) {
1811
                             if( input_label == 'password' ) $("#entryform label[for='password2']").parent().clone().appendTo("#quick_add_list");
1811
                           $(this).attr('for' , 'qa_' + this_id).parent().clone().appendTo("#quick_add_list").children().attr('id' , 'qa_' + this_id);
1812
                       [% END %]
1812
                           [% UNLESS mandatorypassword %]
1813
                                 if( input_label == 'password' ) $("#entryform label[for='password2']").parent().clone().appendTo("#quick_add_list").attr('id' , 'qa_' + this_id);
1814
                           [% END %]
1815
                       } else {
1816
                           $(this).parent().clone().appendTo("#quick_add_list");
1817
                           [% UNLESS mandatorypassword %]
1818
                                 if( input_label == 'password' ) $("#entryform label[for='password2']").parent().clone().appendTo("quick_add_list");
1819
                           [% END %]
1820
                       }
1813
                    }
1821
                    }
1814
                });
1822
                });
1815
                if ( $("#memberentry_guarantor").length ) {
1823
                if ( $("#memberentry_guarantor").length ) {
1816
- 

Return to bug 29303