diff options
author | David <ottodavid@gmx.net> | 2015-02-18 18:04:24 +0100 |
---|---|---|
committer | David <ottodavid@gmx.net> | 2015-02-18 18:04:24 +0100 |
commit | 348a4558c1adb96b961a08d8bce0d196125ccbac (patch) | |
tree | 4b170620c1bf113c5cd83c1a544498a990dddad6 /framework/Web/UI | |
parent | fa0164d84c82932d1dd4268386bbb28abbe68557 (diff) |
Fix #546
Added TAccordion specific exception messages
Diffstat (limited to 'framework/Web/UI')
-rw-r--r-- | framework/Web/UI/WebControls/TAccordion.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/framework/Web/UI/WebControls/TAccordion.php b/framework/Web/UI/WebControls/TAccordion.php index fc794cd4..1e9fcd43 100644 --- a/framework/Web/UI/WebControls/TAccordion.php +++ b/framework/Web/UI/WebControls/TAccordion.php @@ -142,14 +142,14 @@ class TAccordion extends TWebControl implements IPostBackDataHandler if(($index=$views->findIndexByID($id))>=0) $activeView=$views->itemAt($index); else - throw new TInvalidDataValueException('tabpanel_activeviewid_invalid',$id); + throw new TInvalidDataValueException('accordion_activeviewid_invalid',$id); } else if(($index=$this->getActiveViewIndex())>=0) { if($index<$views->getCount()) $activeView=$views->itemAt($index); else - throw new TInvalidDataValueException('tabpanel_activeviewindex_invalid',$index); + throw new TInvalidDataValueException('accordion_activeviewindex_invalid',$index); } else { @@ -176,7 +176,7 @@ class TAccordion extends TWebControl implements IPostBackDataHandler if($this->getViews()->indexOf($view)>=0) $this->activateView($view); else - throw new TInvalidOperationException('tabpanel_view_inexistent'); + throw new TInvalidOperationException('accordion_view_inexistent'); } /** |