diff options
author | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-11-10 20:23:31 +0000 |
---|---|---|
committer | einhverfr <einhverfr@4979c152-3d1c-0410-bac9-87ea11338e46> | 2008-11-10 20:23:31 +0000 |
commit | 54e8419fb7614a709f562e2ae90eb96cba10f137 (patch) | |
tree | a07b58919768c1a4df28a7f275e021777c1becdc /UI/lib | |
parent | b373465898535055867ce8acdea26a6518a99ebd (diff) |
Correcting template error handling.
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@2385 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'UI/lib')
-rw-r--r-- | UI/lib/elements.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UI/lib/elements.html b/UI/lib/elements.html index f42aaf5d..b2eec5df 100644 --- a/UI/lib/elements.html +++ b/UI/lib/elements.html @@ -157,7 +157,7 @@ option_data.text = option_data.$text_attr; END ?> <?lsmb # Selected is a special case -- no attribute key, so it is handled here by looking for the option value in the default_values list. - IF element_data.defined('default_values') AND element_data.default_values.grep("^${option_data.value}$").size; + IF element_data.defined('default_values') AND element_data.default_values.grep("^${option_data.value}\$").size; option_data.selected = ' selected="selected"'; ELSE; option_data.selected = ""; |