mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-06-05 15:09:37 +09:00
- fixed permanently deleting form's field
This commit is contained in:
@@ -4,7 +4,7 @@ jQuery(document).ready(function() {
|
||||
jQuery(document.body).on('click', '.um-admin-btns a span.remove', function(e){
|
||||
e.preventDefault();
|
||||
|
||||
if ( confirm( 'This will permanently delete this custom field from database' ) ) {
|
||||
if ( confirm( 'This will permanently delete this custom field from a database and from all forms on your site. Are you sure?' ) ) {
|
||||
|
||||
jQuery(this).parents('a').remove();
|
||||
|
||||
@@ -21,7 +21,7 @@ jQuery(document).ready(function() {
|
||||
|
||||
},
|
||||
success: function(data){
|
||||
|
||||
jQuery('#um-admin-form-builder .' + arg1).remove();
|
||||
},
|
||||
error: function(data){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user