summaryrefslogtreecommitdiff
path: root/framework/Web/UI/WebControls
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Web/UI/WebControls')
-rw-r--r--framework/Web/UI/WebControls/TKeyboard.php2
-rw-r--r--framework/Web/UI/WebControls/TTabPanel.php2
-rw-r--r--framework/Web/UI/WebControls/assets/keyboard.css (renamed from framework/Web/UI/WebControls/keyboard.css)0
-rw-r--r--framework/Web/UI/WebControls/assets/tabpanel.css (renamed from framework/Web/UI/WebControls/TTabPanel.css)0
4 files changed, 2 insertions, 2 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);
}
diff --git a/framework/Web/UI/WebControls/TTabPanel.php b/framework/Web/UI/WebControls/TTabPanel.php
index 394f7326..d4524534 100644
--- a/framework/Web/UI/WebControls/TTabPanel.php
+++ b/framework/Web/UI/WebControls/TTabPanel.php
@@ -384,7 +384,7 @@ class TTabPanel extends TWebControl implements IPostBackDataHandler
protected function registerStyleSheet()
{
if(($url=$this->getCssUrl())==='')
- $url=$this->publishAsset('TTabPanel.css',__CLASS__);
+ $url=$this->getApplication()->getAssetManager()->publishFilePath(dirname(__FILE__).DIRECTORY_SEPARATOR.'assets'.DIRECTORY_SEPARATOR.'tabpanel.css');
$this->getPage()->getClientScript()->registerStyleSheetFile($url,$url);
}
diff --git a/framework/Web/UI/WebControls/keyboard.css b/framework/Web/UI/WebControls/assets/keyboard.css
index ad88d76b..ad88d76b 100644
--- a/framework/Web/UI/WebControls/keyboard.css
+++ b/framework/Web/UI/WebControls/assets/keyboard.css
diff --git a/framework/Web/UI/WebControls/TTabPanel.css b/framework/Web/UI/WebControls/assets/tabpanel.css
index 43a42c60..43a42c60 100644
--- a/framework/Web/UI/WebControls/TTabPanel.css
+++ b/framework/Web/UI/WebControls/assets/tabpanel.css