Commit fedf8ecc by Klimov Paul

`yii\authclient\widgets\AuthChoice` now preserves initial settings while opening popup

parent be24a2e2
...@@ -5,6 +5,7 @@ Yii Framework 2 authclient extension Change Log ...@@ -5,6 +5,7 @@ Yii Framework 2 authclient extension Change Log
-------------------------- --------------------------
- Bug #3633: OpenId return URL comparison advanced to prevent url encode problem (klimov-paul) - Bug #3633: OpenId return URL comparison advanced to prevent url encode problem (klimov-paul)
- Bug #4490: `yii\authclient\widgets\AuthChoice` does not preserve initial settings while opening popup (klimov-paul)
- Enh #3416: VKontakte OAuth support added (klimov-paul) - Enh #3416: VKontakte OAuth support added (klimov-paul)
- Enh #4076: Request HTTP headers argument added to `yii\authclient\BaseOAuth::api()` method (klimov-paul) - Enh #4076: Request HTTP headers argument added to `yii\authclient\BaseOAuth::api()` method (klimov-paul)
- Enh #4134: `yii\authclient\InvalidResponseException` added for tracking invalid remote server response (klimov-paul) - Enh #4134: `yii\authclient\InvalidResponseException` added for tracking invalid remote server response (klimov-paul)
......
...@@ -38,7 +38,7 @@ jQuery(function($) { ...@@ -38,7 +38,7 @@ jQuery(function($) {
} }
var url = this.href; var url = this.href;
var popupOptions = options.popup; var popupOptions = $.extend({}, options.popup); // clone
var localPopupWidth = this.getAttribute('data-popup-width'); var localPopupWidth = this.getAttribute('data-popup-width');
if (localPopupWidth) { if (localPopupWidth) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment