From cbc337ced4cba058fc1ed38a6b01d7c4e6677c17 Mon Sep 17 00:00:00 2001 From: David Date: Tue, 11 Aug 2015 18:32:09 +0200 Subject: 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. --- framework/Web/UI/ActiveControls/TDraggable.php | 2 +- framework/Web/UI/ActiveControls/TDropContainerEventParameter.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/Web/UI/ActiveControls') diff --git a/framework/Web/UI/ActiveControls/TDraggable.php b/framework/Web/UI/ActiveControls/TDraggable.php index 45344b27..0f82ab56 100755 --- a/framework/Web/UI/ActiveControls/TDraggable.php +++ b/framework/Web/UI/ActiveControls/TDraggable.php @@ -164,7 +164,7 @@ class TDraggable extends TPanel else $cs->registerPradoScript('dragdrop'); $writer->addAttribute('id',$this->getClientID()); - $options=TJavascript::encode($this->getPostBackOptions()); + $options=TJavaScript::encode($this->getPostBackOptions()); $class=$this->getClientClassName(); $code="new {$class}('{$this->getClientId()}', {$options}) "; $cs->registerEndScript(sprintf('%08X', crc32($code)), $code); diff --git a/framework/Web/UI/ActiveControls/TDropContainerEventParameter.php b/framework/Web/UI/ActiveControls/TDropContainerEventParameter.php index 3f097b91..5a1dc4dc 100644 --- a/framework/Web/UI/ActiveControls/TDropContainerEventParameter.php +++ b/framework/Web/UI/ActiveControls/TDropContainerEventParameter.php @@ -73,7 +73,7 @@ class TDropContainerEventParameter extends \Prado\TEventParameter public function getDroppedControl () { $control=null; - $service=prado::getApplication()->getService(); + $service=Prado::getApplication()->getService(); if ($service instanceof TPageService) { // Find the control -- cgit v1.2.3