diff options
author | ctrlaltca@gmail.com <> | 2012-03-24 22:52:29 +0000 |
---|---|---|
committer | ctrlaltca@gmail.com <> | 2012-03-24 22:52:29 +0000 |
commit | 76d7735f8de76dfc4fa0ff671e5f18ae025bbcf3 (patch) | |
tree | aa7e542d5aeeb4d9a09769cc3beb45d6aaf180fe /framework/Web/UI/ActiveControls | |
parent | fd1a685c494bc183adae9b1748ee79e66c4ff7c2 (diff) |
Committer 2nd part of patch for #391
Diffstat (limited to 'framework/Web/UI/ActiveControls')
-rw-r--r-- | framework/Web/UI/ActiveControls/TAutoComplete.php | 2 | ||||
-rwxr-xr-x | framework/Web/UI/ActiveControls/TDropContainer.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/framework/Web/UI/ActiveControls/TAutoComplete.php b/framework/Web/UI/ActiveControls/TAutoComplete.php index cc63deae..2c160578 100644 --- a/framework/Web/UI/ActiveControls/TAutoComplete.php +++ b/framework/Web/UI/ActiveControls/TAutoComplete.php @@ -328,7 +328,7 @@ class TAutoComplete extends TActiveTextBox implements INamingContainer {
$string = strtr($string,array('\t'=>"\t",'\n'=>"\n",'\r'=>"\r"));
$token = preg_split('//', $string, -1, PREG_SPLIT_NO_EMPTY);
- $options['tokens'] = TJavaScript::encode($token,false);
+ $options['tokens'] = $token;
}
if($this->getAutoPostBack())
{
diff --git a/framework/Web/UI/ActiveControls/TDropContainer.php b/framework/Web/UI/ActiveControls/TDropContainer.php index e6933147..daa8469b 100755 --- a/framework/Web/UI/ActiveControls/TDropContainer.php +++ b/framework/Web/UI/ActiveControls/TDropContainer.php @@ -157,7 +157,7 @@ class TDropContainer extends TPanel implements IActiveControl, ICallbackEventHan $options['ID'] = $this->getClientID(); $options['EventTarget'] = $this->getUniqueID(); - $options['accept'] = TJavascript::encode($this->getAcceptCssClass()); + $options['accept'] = $this->getAcceptCssClass(); $options['hoverclass'] = $this->getHoverCssClass(); return $options; } |