forked from GitHub/gf-core
VoiceXML: use block cond instead of field expr. For some reason the field expr doesn't work right in Opera.
This commit is contained in:
@@ -138,7 +138,8 @@ cat2form :: String -> CatQuestions -> VIdent -> [(VIdent, [VIdent])] -> XML
|
||||
cat2form gr qs cat fs =
|
||||
form (catFormId cat) $
|
||||
[var "old" Nothing,
|
||||
field "term" [("expr", "old.name != '?' ? old : undefined")]
|
||||
blockCond "old.name != '?'" [assign "term" "old"],
|
||||
field "term" []
|
||||
[promptString (getCatQuestion cat qs),
|
||||
vxmlGrammar (gr++"#"++catFormId cat)
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user