Merge pull request #1005 from openclassify/muammertop

#3607 igamkoop bugs and requests
This commit is contained in:
spektra2147 2021-03-25 17:24:11 +03:00 committed by GitHub
commit 3cdf2175d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 2 deletions

View File

@ -70,7 +70,7 @@ promiseForCategory.then(function (categories_list) {
function CategoryField(name, level) {
return '<div class="col-12 px-0 py-1 category-select-mobile category-box" data-level="' + level + '">\n' +
'</span>\n<select data-level="' + level + '" class="form-control cat-select ' + name + '">\n' +
'<option> ...</option>' +
'<option>'+ catsPlaceholder +'</option>' +
'</select>\n</div>';
}

View File

@ -1,5 +1,6 @@
<script>
var categories = {};
let categories = {}
catsPlaceholder = '{{ trans("visiosoft.module.advs::field.categories.name") }}';
</script>
{{ asset_add('scripts.js','visiosoft.module.advs::js/filter_modal.js') }}
<div class="modal fade" id="filterModal" tabindex="-1" role="dialog" aria-labelledby="filterModal" aria-hidden="true">