Browse Source
Fix timezone settings form submission to use jQuery selector for value retrieval
pull/22236/head
maliming
2 years ago
No known key found for this signature in database
GPG Key ID: A646B9CB645ECEA4
1 changed files with
1 additions and
1 deletions
-
modules/setting-management/src/Volo.Abp.SettingManagement.Web/Pages/SettingManagement/Components/TimeZoneSettingGroup/Default.js
|
|
@ -22,7 +22,7 @@ |
|
|
|
|
|
|
|
|
$("#TimeZoneSettingsForm").on('submit', function (event) { |
|
|
$("#TimeZoneSettingsForm").on('submit', function (event) { |
|
|
event.preventDefault(); |
|
|
event.preventDefault(); |
|
|
volo.abp.settingManagement.timeZoneSettings.update(select2.find(':selected')[0].value).then(function (result) { |
|
|
volo.abp.settingManagement.timeZoneSettings.update($("#timezone-select").val()).then(function (result) { |
|
|
$(document).trigger("AbpSettingSaved"); |
|
|
$(document).trigger("AbpSettingSaved"); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
}); |
|
|
|