- fixed login form loading in modal window;

This commit is contained in:
nikitozzzzzzz
2018-06-21 17:27:36 +03:00
parent 12e291e278
commit 6e2e907a6b
6 changed files with 17 additions and 6 deletions
+8 -1
View File
@@ -635,7 +635,6 @@ function um_modal_responsive() {
}
function um_remove_modal(){
jQuery('img.cropper-hidden').cropper('destroy');
jQuery('body,html,textarea').css("overflow", "auto");
@@ -670,6 +669,14 @@ function prepare_Modal() {
function remove_Modal() {
if ( jQuery('.um-popup-overlay').length ) {
jQuery( document ).trigger( 'um_before_modal_removed' );
if ( jQuery('.um-popup-autogrow:visible').length ) {
jQuery('.um-popup-autogrow:visible').mCustomScrollbar("destroy");
} else if ( jQuery('.um-popup-autogrow2:visible').length ) {
jQuery('.um-popup-autogrow2:visible').mCustomScrollbar("destroy");
}
jQuery('.tipsy').remove();
jQuery('.um-popup').empty().remove();
jQuery('.um-popup-overlay').empty().remove();
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -2
View File
@@ -39,14 +39,14 @@ if ( ! class_exists( 'um\Dependencies' ) ) {
'instagram' => '2.0',
'invitations' => '2.0',
'mailchimp' => '2.0.1',
'messaging' => '2.0.1',
'messaging' => '2.0.5',
'mycred' => '2.0',
'notices' => '2.0.1',
'notifications' => '2.0.1',
'online' => '2.0',
'private-content' => '2.0',
'profile-completeness' => '2.0.1',
'recaptcha' => '2.0',
'recaptcha' => '2.0.2',
'reviews' => '2.0.3',
'social-activity' => '2.0.1',
'social-login' => '2.0.1',
+4
View File
@@ -107,6 +107,10 @@ if ( ! class_exists( 'um\core\Password' ) ) {
UM()->form()->post_form = $_POST;
if ( empty( UM()->form()->post_form['mode'] ) ) {
UM()->form()->post_form['mode'] = 'password';
}
/**
* UM hook
*
+1 -1
View File
@@ -131,7 +131,7 @@ The plugin works with popular caching plugins by automatically excluding Ultimat
= Important: UM2.0+ is a significant update to the code base from 1.3.88. Please make sure you take a full-site backup with restore point before updating the plugin =
= 2.0.18-alpha2: =
= 2.0.18: =
* Enhancements:
+1 -1
View File
@@ -3,7 +3,7 @@
Plugin Name: Ultimate Member
Plugin URI: http://ultimatemember.com/
Description: The easiest way to create powerful online communities and beautiful user profiles with WordPress
Version: 2.0.18-alpha2
Version: 2.0.18
Author: Ultimate Member
Author URI: http://ultimatemember.com/
Text Domain: ultimate-member