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

@ -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) {