summaryrefslogtreecommitdiff
path: root/framework/Web/UI
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI')
-rw-r--r--framework/Web/UI/WebControls/TKeyboard.php2
-rw-r--r--framework/Web/UI/WebControls/TTabPanel.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/WebControls/TKeyboard.php b/framework/Web/UI/WebControls/TKeyboard.php
index 301e6cf3..a00174b3 100644
--- a/framework/Web/UI/WebControls/TKeyboard.php
+++ b/framework/Web/UI/WebControls/TKeyboard.php
@@ -155,7 +155,7 @@ class TKeyboard extends TWebControl
$options=TJavaScript::encode($this->getClientOptions());
$className=$this->getClientClassName();
$cs=$this->getPage()->getClientScript();
- $cs->registerPradoScript('prado');
+ $cs->registerPradoScript('keyboard');
$cs->registerEndScript('prado:'.$this->getClientID(), "new $className($options);");
}
diff --git a/framework/Web/UI/WebControls/TTabPanel.php b/framework/Web/UI/WebControls/TTabPanel.php
index d4524534..c6beae3c 100644
--- a/framework/Web/UI/WebControls/TTabPanel.php
+++ b/framework/Web/UI/WebControls/TTabPanel.php
@@ -398,7 +398,7 @@ class TTabPanel extends TWebControl implements IPostBackDataHandler
$className=$this->getClientClassName();
$page=$this->getPage();
$cs=$page->getClientScript();
- $cs->registerPradoScript('prado');
+ $cs->registerPradoScript('tabpanel');
$code="new $className($options);";
$cs->registerEndScript("prado:$id", $code);
$cs->registerHiddenField($id.'_1',$this->getActiveViewIndex());