Translate chosen selects

This commit is contained in:
Frederic Guillot
2015-03-01 19:42:24 -05:00
parent d910ebc1ea
commit 052b14d482
20 changed files with 32 additions and 13 deletions

View File

@@ -168,7 +168,8 @@ var Kanboard = (function() {
// Project select box
$("#board-selector").chosen({
width: 180
width: 180,
no_results_text: $("#board-selector").data("notfound")
});
$("#board-selector").change(function() {

View File

@@ -322,15 +322,18 @@ Kanboard.Board = (function() {
var projectId = $('#board').data('project-id');
$("#form-user_id").chosen({
width: "180px"
width: "180px",
no_results_text: $("#form-user_id").data("notfound")
});
$("#form-category_id").chosen({
width: "200px"
width: "200px",
no_results_text: $("#form-category_id").data("notfound")
});
$("#more-filters").chosen({
width: "30%"
width: "30%",
no_results_text: $("#more-filters").data("notfound")
});
$(".apply-filters").change(function(e) {