payu2107 / zii

Automatically exported from code.google.com/p/zii
0 stars 0 forks source link

Inconsistency in CJuiSortable and CHtml::ajax() #14

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
In the CHtml::Ajax function the 'beforeSend','complete','error','success' 
options are automatically prefixed with 'js:' to create correct output with 
CJavaScript::encode(). This prefix is undocumented by the way.

This is not the case with CJuiSortable options like 'update'.

Perhaps this is intentional, since many options support JS/JQuery. If this 
is the case, please add the 'js:' prefix explictely in the documentation.

Original issue reported on code.google.com by maxximus...@gmail.com on 14 Dec 2009 at 12:01

GoogleCodeExporter commented 8 years ago
Added documentation about the "js:" prefix.

Original comment by sebathi on 14 Jan 2010 at 3:57