diff options
| author | David <ottodavid@gmx.net> | 2015-08-11 18:32:09 +0200 |
|---|---|---|
| committer | David <ottodavid@gmx.net> | 2015-08-11 18:32:09 +0200 |
| commit | cbc337ced4cba058fc1ed38a6b01d7c4e6677c17 (patch) | |
| tree | 5eeb104e4d7b33394a7577b37d5194b188496c33 /framework/Web/UI/JuiControls/TJuiSortable.php | |
| parent | 606874e9a883ae547df198498fce6fca7b735466 (diff) | |
Fixed class usage cases
Class names are not case sensitive but file names are if you are running on an case sensitive file systems. Since class names map to file names, they need to be used case sensitive.
Diffstat (limited to 'framework/Web/UI/JuiControls/TJuiSortable.php')
| -rw-r--r-- | framework/Web/UI/JuiControls/TJuiSortable.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/JuiControls/TJuiSortable.php b/framework/Web/UI/JuiControls/TJuiSortable.php index 6c14b6a4..e2263df4 100644 --- a/framework/Web/UI/JuiControls/TJuiSortable.php +++ b/framework/Web/UI/JuiControls/TJuiSortable.php @@ -95,7 +95,7 @@ class TJuiSortable extends TActivePanel implements IJuiOptions, ICallbackEventHa foreach($options as $event => $implementation) { if($event=='sort' || $event=='stop') - $options[$event]=new TJavaScriptLiteral('function( event, ui ) { ui.index = jQuery(this).sortable(\'toArray\'); Prado.JuiCallback('.TJavascript::encode($this->getUniqueID()).', \''.$event.'\', event, ui, this); }'); + $options[$event]=new TJavaScriptLiteral('function( event, ui ) { ui.index = jQuery(this).sortable(\'toArray\'); Prado.JuiCallback('.TJavaScript::encode($this->getUniqueID()).', \''.$event.'\', event, ui, this); }'); } return $options; } @@ -108,7 +108,7 @@ class TJuiSortable extends TActivePanel implements IJuiOptions, ICallbackEventHa { parent::addAttributesToRender($writer); $writer->addAttribute('id',$this->getClientID()); - $options=TJavascript::encode($this->getPostBackOptions()); + $options=TJavaScript::encode($this->getPostBackOptions()); $cs=$this->getPage()->getClientScript(); $code="jQuery('#".$this->getClientId()."_0').sortable(".$options.");"; $cs->registerEndScript(sprintf('%08X', crc32($code)), $code); |
