Fixed saving of settings form

master
Mark Moffat 2020-02-06 22:32:36 +10:30
parent fdbbceb114
commit a02917b273
2 changed files with 5 additions and 1 deletions

View File

@ -76,6 +76,10 @@ $(document).ready(function (){
$('#product_optOptions').val('');
});
$(document).on('click', '#btnSettingsUpdate', function(e){
$('#settingsForm').submit();
});
// call update settings API
$('#settingsForm').validator().on('submit', function(e){
if(!e.isDefaultPrevented()){

File diff suppressed because one or more lines are too long