Merge pull request #878 from openclassify/muammertop

maden bug fixed on slack channel
This commit is contained in:
Ozcan Durak 2020-12-24 12:06:38 +03:00 committed by GitHub
commit 18c2a046f2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 14 additions and 6 deletions

View File

@ -47,7 +47,14 @@ class AdvTableColumns
],
'country' => [
'class' => 'advs-country',
'class' => 'text-center',
'wrapper' => '<strong><span class="text-muted">{value.city}</span><br>{value.country}</strong>',
'value' => [
'city' => function (EntryInterface $entry) {
return $entry->getCity();
},
'country' => 'country',
]
],
'created_by' => [
'value' => 'entry.created_by.name',

View File

@ -190,7 +190,7 @@ function SelectOnClick() {
searchLocationName()
$('.loading').hide();
return $(".filter-location-body input[type='checkbox']").change(function () {
return $(".filter-location-body input[type='checkbox']").on('change', function () {
resetValue($(this).attr('data-field'), false, true)
@ -202,7 +202,7 @@ function SelectOnClick() {
var id = $(this).attr('data-id');
if ($(this).attr('data-field') == "country") {
$('.selected-city').html('');
$('.selected-city small').html('');
$('input[name="city[]"]').val('');
// text_html.html(input_text)
// $(".filter-location-body li[data-id='" + id + "'] input[type='checkbox']").prop('checked', true);
@ -247,13 +247,13 @@ function item(field_name, id, value, abv = '') {
if (field_name === 'country') {
return '<li class="px-2" data-id="' + id + '">\n' +
' <label class="w-100">\n' +
' <input type="checkbox" data-field="' + field_name + '" data-id="' + id + '" '+ selected +'>\n' +
' <input' +
' type="checkbox" data-field="' + field_name + '" data-id="' + id + '" '+ selected +'>\n' +
' <span class="flag ml-1 flag-' + abv + '">\n' +
' </span>\n' +
' <small>' + value + '</small>\n' +
' </label>\n' +
' </li>';
} else {
return '<li class="px-2" data-id="' + id + '">\n' +
' <label class="w-100">\n' +

View File

@ -74,7 +74,8 @@ class Register2FormFields
1 => 'visiosoft.module.profile::field.personal.name',
2 => 'visiosoft.module.profile::field.corporate.name'
],
"mode" => "radio",
"default_value" => 1,
"mode" => "radio",
],
],
'username' => [