Browse files

(Fixes issue #673) changed CClientScript::scripts to public

  • Loading branch information...
1 parent d276c72 commit 8f05c3cd341892b9e0d072c839d1db1b02d6bc72 @mdomba mdomba committed May 3, 2012
Showing with 6 additions and 4 deletions.
  1. +2 −0 CHANGELOG
  2. +4 −4 framework/web/CClientScript.php
View
2 CHANGELOG
@@ -38,6 +38,7 @@ Version 1.1.11 work in progress
- Enh #641: Added support for cache entry serialization through the igbinary serializer (DaSourcerer)
- Enh #648: Added filterHtmlOptions property to the CGridColumn component (juban)
- Enh #652: Added namespace to yiiGridView events, so they can be easily removed by .off() jQuery method (Bethrezen)
+- Enh #673: Changed CClientScript::scripts to be public (mdomba)
- Enh: Added default value to CConsoleCommand::confirm (musterknabe)
- Enh: Allowed returning integer values as application exit code in CConsoleCommand actions (cebe)
- Enh: Added third parameter to CHttpCookie to configure the cookie by array (suralc)
@@ -50,6 +51,7 @@ Version 1.1.11 work in progress
- Chg #497: Added log component and preloaded it in default console application config in order to properly log errors (samdark)
- Chg: Upgraded jQuery to 1.7.2 (samdark)
+
Version 1.1.10 February 12, 2012
--------------------------------
- Bug Fixed the bug introduced in 1.1.9 CActiveForm required field was not validated if left empty (mdomba)
View
8 framework/web/CClientScript.php
@@ -115,6 +115,10 @@ class CClientScript extends CApplicationComponent
*/
public $corePackages;
/**
+ * @var array the registered JavaScript code blocks (position, key => code)
+ */
+ public $scripts=array();
+ /**
* @var array the registered CSS files (CSS URL=>media type).
*/
protected $cssFiles=array();
@@ -123,10 +127,6 @@ class CClientScript extends CApplicationComponent
*/
protected $scriptFiles=array();
/**
- * @var array the registered JavaScript code blocks (position, key => code)
- */
- protected $scripts=array();
- /**
* @var array the registered head meta tags. Each array element represents an option array
* that will be passed as the last parameter of {@link CHtml::metaTag}.
* @since 1.1.3

0 comments on commit 8f05c3c

Please sign in to comment.