Allow wildcards for reloadble CSS files

This commit is contained in:
SilverFire - Dmitry Naumenko
2016-10-01 22:04:48 +03:00
parent 1496c8cde3
commit 32f42e3fa6

View File

@ -423,7 +423,7 @@ window.yii = (function ($) {
$(document).ajaxComplete(function (event, xhr, settings) {
var styleSheets = [];
$('link[rel=stylesheet]').each(function () {
if ($.inArray(this.href, pub.reloadableScripts) !== -1) {
if (isReloadable(this.href)) {
return;
}
if ($.inArray(this.href, styleSheets) == -1) {