* adjust the placeholder of chosen.

This commit is contained in:
azhi
2013-08-02 08:50:36 +08:00
parent ad54b16e64
commit ce08eaed8d
24 changed files with 12 additions and 38 deletions
-2
View File
@@ -1,7 +1,6 @@
$(function()
{
$(".chosenBox select").chosen({no_results_text: noResultsMatch});
$(".chzn-container-multi .chzn-choices li.search-field input").attr('value', chooseBuilds);
})
/**
@@ -32,6 +31,5 @@ function loadProjectBuilds(productID, projectID, index)
$('#buildBox' + index + ' select').addClass('select-1');
$('#buildBox' + index + ' select').attr('id', 'openedBuilds[' + index + '][]');
$('#buildBox' + index + ' select').chosen({no_results_text: ''});
$('#buildBox' + index + ' .chzn-container-multi .chzn-choices li.search-field input').attr('value', chooseBuilds);
});
}