CJuiWidget registers jui script at body end may make duplicate

CJuiWidget registers jQuery-ui.min.js at body end.

In Yii 1.1.4,jquery.ui may being registered as a core scirpt that makes it renders at header by default.

So there may make to jquery-ui.min.js in page.

Modify zii.widgets.jui.CJuiWidget,line 120 as

// default unchanged,register as core script

if ('jquery-ui.min.js' === $this->scriptFile)





from origin:


this solves this problem