comparison rhodecode/templates/base/base.html @ 4146:5842d2115a25 rhodecode-2.2.5-gpl

old style: fix repository repository selector select2
author Andrew Shadura <andrew@shadura.me>
date Sun, 12 Jan 2014 19:29:12 +0100
parents 962f753552cd
children 9dd726706178
comparison
equal deleted inserted replaced
4145:47690c876a90 4146:5842d2115a25
386 tmpl += state.text; 386 tmpl += state.text;
387 return tmpl; 387 return tmpl;
388 } 388 }
389 389
390 $("#repo_switcher").select2({ 390 $("#repo_switcher").select2({
391 placeholder: '<i class="icon-archive"></i> ${_('Repositories')} <i class="icon-caret-down"></i>', 391 placeholder: '<i class="icon-archive"></i> ${_('Repositories')}',
392 dropdownAutoWidth: true, 392 dropdownAutoWidth: true,
393 formatResult: format, 393 formatResult: format,
394 formatSelection: format, 394 formatSelection: format,
395 formatNoMatches: function(term){ 395 formatNoMatches: function(term){
396 return "${_('No matches found')}"; 396 return "${_('No matches found')}";