Permalink
Browse files

Update EClientScriptBoost.php

CJuiDialog is also an issue, and fixed bug in code to skip these classes.
  • Loading branch information...
1 parent 3a3a89a commit c5b7135086c1860677c2e38403666851fcc5df73 @mdeweerd mdeweerd committed Dec 24, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 extensions/EScriptBoost/EClientScriptBoost.php
@@ -29,7 +29,7 @@ class EClientScriptBoost extends CClientScript
{
public $cacheDuration = 0;
- private $skipList=array('CButtonColumn');
+ private $skipList=array('CButtonColumn','CJuiDialog');
public function registerScript($id,$script,$position=null,array $htmlOptions=array())
{
@@ -38,7 +38,7 @@ public function registerScript($id,$script,$position=null,array $htmlOptions=arr
$debug=YII_DEBUG;
foreach($this->skipList as $s) {
- $skip|=strpos($script, $s) === 0;
+ $skip|=strpos($id, $s) === 0;
if($skip) break;
}

0 comments on commit c5b7135

Please sign in to comment.