mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 21:53:43 +09:00
solved problem with condition field saving
This commit is contained in:
@@ -29,7 +29,9 @@ jQuery(document).ready(function() {
|
||||
|
||||
/* Add a Field */
|
||||
jQuery(document).on('submit', 'form.um_add_field', function(e){
|
||||
|
||||
|
||||
console.log(um_admin_field_data.ajax_url);
|
||||
|
||||
e.preventDefault();
|
||||
|
||||
var form = jQuery(this);
|
||||
@@ -49,6 +51,7 @@ jQuery(document).ready(function() {
|
||||
form.css({'opacity': 1});
|
||||
},
|
||||
success: function(data){
|
||||
console.log(data);
|
||||
if (data.error){
|
||||
|
||||
c = 0;
|
||||
@@ -76,7 +79,7 @@ jQuery(document).ready(function() {
|
||||
|
||||
},
|
||||
error: function(data){
|
||||
|
||||
console.log(data);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user