mirror of
https://github.com/10h30/ultimatemember.git
synced 2026-07-17 21:53:43 +09:00
- fixed email templates for multisite;
- fixed upgrade script to 2.0.x version for multisites;
This commit is contained in:
@@ -240,14 +240,6 @@ th.column-email.column-primary {
|
||||
}
|
||||
*/
|
||||
|
||||
.email_template_wrapper .reset_email_template {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.email_template_wrapper.in_theme .reset_email_template {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.um_setting_ajax_button_response.complete {
|
||||
color:darkgreen;
|
||||
font-style: italic;
|
||||
|
||||
@@ -1,42 +1,4 @@
|
||||
jQuery( document ).ready( function() {
|
||||
/**
|
||||
* Email templates
|
||||
*/
|
||||
/*jQuery( 'body' ).on( 'click', '.copy_email_template', function() {
|
||||
var obj = jQuery(this);
|
||||
|
||||
jQuery.ajax({
|
||||
url: php_data.copy_email_template,
|
||||
type: 'POST',
|
||||
data: { email_key : obj.parents('.email_template_wrapper').data('key') },
|
||||
success: function(data){
|
||||
obj.parents('.email_template_wrapper').addClass('in_theme');
|
||||
},
|
||||
error: function(data){
|
||||
alert('Something went wrong');
|
||||
}
|
||||
});
|
||||
});*/
|
||||
|
||||
jQuery( 'body' ).on( 'click', '.reset_email_template', function() {
|
||||
var obj = jQuery(this);
|
||||
|
||||
jQuery.ajax({
|
||||
url: php_data.delete_email_template,
|
||||
type: 'POST',
|
||||
data: { email_key : obj.parents('.email_template_wrapper').data('key') },
|
||||
success: function(data){
|
||||
obj.parents('.email_template_wrapper').removeClass('in_theme');
|
||||
},
|
||||
error: function(data){
|
||||
alert('Something went wrong');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Licenses
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user