We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f4072ef + b3c4751 commit 7cbc439Copy full SHA for 7cbc439
scielomanager/scielomanager/static/js/modal.js
@@ -3,8 +3,8 @@ $(function() {
3
/* hack to reload ajax content, and avoid caching trap */
4
$('.modal').on('hidden', function() { $(this).removeData(); })
5
$('.modal').on('shown', function () {
6
- $('input').addClass('span12');
7
- $(".chzn-select").chosen({
+ $(this).find('input').addClass('span12');
+ $(this).find(".chzn-select").chosen({
8
no_results_text: "{% trans 'No results found for' %}:",
9
width: "100%",
10
});
0 commit comments