summaryrefslogtreecommitdiff
path: root/framework/Web/UI/ActiveControls
diff options
context:
space:
mode:
authorDavid <ottodavid@gmx.net>2015-08-11 18:32:09 +0200
committerDavid <ottodavid@gmx.net>2015-08-11 18:32:09 +0200
commitcbc337ced4cba058fc1ed38a6b01d7c4e6677c17 (patch)
tree5eeb104e4d7b33394a7577b37d5194b188496c33 /framework/Web/UI/ActiveControls
parent606874e9a883ae547df198498fce6fca7b735466 (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/ActiveControls')
-rwxr-xr-xframework/Web/UI/ActiveControls/TDraggable.php2
-rw-r--r--framework/Web/UI/ActiveControls/TDropContainerEventParameter.php2
2 files changed, 2 insertions, 2 deletions
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