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

This commit is contained in:
Klimov Paul
2014-07-28 17:56:03 +03:00
parent be24a2e2c7
commit fedf8eccd9
2 changed files with 2 additions and 1 deletions

View File

@ -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 #4490: `yii\authclient\widgets\AuthChoice` does not preserve initial settings while opening popup (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 #4134: `yii\authclient\InvalidResponseException` added for tracking invalid remote server response (klimov-paul)

View File

@ -38,7 +38,7 @@ jQuery(function($) {
}
var url = this.href;
var popupOptions = options.popup;
var popupOptions = $.extend({}, options.popup); // clone
var localPopupWidth = this.getAttribute('data-popup-width');
if (localPopupWidth) {