summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls/TKeyboard.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls/TKeyboard.php')
-rw-r--r--framework/Web/UI/WebControls/TKeyboard.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Web/UI/WebControls/TKeyboard.php b/framework/Web/UI/WebControls/TKeyboard.php
index 58af07ce..301e6cf3 100644
--- a/framework/Web/UI/WebControls/TKeyboard.php
+++ b/framework/Web/UI/WebControls/TKeyboard.php
@@ -143,7 +143,7 @@ class TKeyboard extends TWebControl
protected function registerStyleSheet()
{
if(($url=$this->getCssUrl())==='')
- $url=$this->publishAsset('keyboard.css',__CLASS__);
+ $url=$this->getApplication()->getAssetManager()->publishFilePath(dirname(__FILE__).DIRECTORY_SEPARATOR.'assets'.DIRECTORY_SEPARATOR.'keyboard.css');
$this->getPage()->getClientScript()->registerStyleSheetFile($url,$url);
}