Fixed saving of settings form
parent
fdbbceb114
commit
a02917b273
|
@ -76,6 +76,10 @@ $(document).ready(function (){
|
||||||
$('#product_optOptions').val('');
|
$('#product_optOptions').val('');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$(document).on('click', '#btnSettingsUpdate', function(e){
|
||||||
|
$('#settingsForm').submit();
|
||||||
|
});
|
||||||
|
|
||||||
// call update settings API
|
// call update settings API
|
||||||
$('#settingsForm').validator().on('submit', function(e){
|
$('#settingsForm').validator().on('submit', function(e){
|
||||||
if(!e.isDefaultPrevented()){
|
if(!e.isDefaultPrevented()){
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue