Revision 1403:35732ac4324a plugins/redmine_bibliography/assets/javascripts

View differences:

plugins/redmine_bibliography/assets/javascripts/authors.js
28 28
            $this.closest('div').find("input[id$='search_author_id']").val(ui.item.search_author_id);
29 29
            $this.closest('div').find("input[id$='search_author_tie']").attr('checked', 'checked');
30 30

  
31

  
32

  
33 31
            // triggers the save button
34 32
            $this.closest('div').next('div').find('.author_save_btn').click();
35 33
        }
......
37 35
        .data( "autocomplete" )._renderItem = function( ul, item ) {
38 36
            return $( "<li>" )
39 37
                .data("item.autocomplete", item )
40
                .append( "<a>" + item.label + "<br><em>" + item.email + "</em><br>" + item.intitution + "</a>" )
38
                .append( "<a>" + item.label + "<br><em>" + item.email + "</em><br>" + item.institution + "</a>" )
41 39
                .appendTo(ul);
42 40
            };
43 41
        });

Also available in: Unified diff