equal
deleted
inserted
replaced
36 html += '<span style="' + row.rank_style + '">' + row.rank_title + '</span>'; |
36 html += '<span style="' + row.rank_style + '">' + row.rank_title + '</span>'; |
37 return html; |
37 return html; |
38 }, |
38 }, |
39 tableHeader: '<tr><th>' + $lang.get('user_autofill_heading_suggestions') + '</th></tr>', |
39 tableHeader: '<tr><th>' + $lang.get('user_autofill_heading_suggestions') + '</th></tr>', |
40 showWhenNoResults: true, |
40 showWhenNoResults: true, |
41 noResultsHTML: '<tr><td class="row1" style="font-size: smaller;">' + $lang.get('user_autofill_msg_no_suggestions') + '</td></tr>', |
41 noResultsHTML: '<tr><td class="row1" style="font-size: smaller;">' + $lang.get('user_autofill_msg_no_suggestions') + '</td></tr>' |
42 }); |
42 }); |
43 } |
43 } |
44 } |
44 } |
45 |
45 |
46 autofill_schemas.page = { |
46 autofill_schemas.page = { |
53 var html = '<u>' + row.name_highlight + '</u>'; |
53 var html = '<u>' + row.name_highlight + '</u>'; |
54 html += ' – ' + row.pid_highlight; |
54 html += ' – ' + row.pid_highlight; |
55 return html; |
55 return html; |
56 }, |
56 }, |
57 showWhenNoResults: true, |
57 showWhenNoResults: true, |
58 noResultsHTML: '<tr><td class="row1" style="font-size: smaller;">' + $lang.get('user_autofill_msg_no_suggestions') + '</td></tr>', |
58 noResultsHTML: '<tr><td class="row1" style="font-size: smaller;">' + $lang.get('user_autofill_msg_no_suggestions') + '</td></tr>' |
59 }); |
59 }); |
60 } |
60 } |
61 } |
61 } |
62 |
62 |
63 window.autofill_init_element = function(element, params) |
63 window.autofill_init_element = function(element, params) |
489 $(ul).attr("border", "0").attr("cellspacing", "1").attr("cellpadding", "3"); |
489 $(ul).attr("border", "0").attr("cellspacing", "1").attr("cellpadding", "3"); |
490 var num = data.length; |
490 var num = data.length; |
491 |
491 |
492 if ( options.tableHeader ) |
492 if ( options.tableHeader ) |
493 { |
493 { |
494 ul.innerHTML = options.tableHeader; |
494 // fails in IE6 |
|
495 try |
|
496 { |
|
497 ul.innerHTML = options.tableHeader; |
|
498 } |
|
499 catch ( e ) {}; |
495 } |
500 } |
496 |
501 |
497 if ( num == 0 ) |
502 if ( num == 0 ) |
498 { |
503 { |
499 // not showing any results |
504 // not showing any results |