forked from GitHub/gf-core
Disable help and reprompt stuff in VoiceXML generation, to make nicer looking VoiceXML. They didn't really add much anyway, since there is no help generation yet.
This commit is contained in:
@@ -154,12 +154,12 @@ cat2form gr qs cat fs =
|
|||||||
-- block [doCallback "entered" cat [return_ [catFieldId cat]] []],
|
-- block [doCallback "entered" cat [return_ [catFieldId cat]] []],
|
||||||
field (catFieldId cat) []
|
field (catFieldId cat) []
|
||||||
[promptString (getCatQuestion cat qs),
|
[promptString (getCatQuestion cat qs),
|
||||||
vxmlGrammar (gr++"#"++catFormId cat),
|
vxmlGrammar (gr++"#"++catFormId cat)
|
||||||
nomatch [Data "I didn't understand you.", reprompt],
|
-- , nomatch [Data "I didn't understand you.", reprompt],
|
||||||
help [Data (mkHelpText cat)],
|
-- help [Data (mkHelpText cat)],
|
||||||
filled [] [if_else (catFieldId cat ++ ".name == '?'")
|
--filled [] [if_else (catFieldId cat ++ ".name == '?'")
|
||||||
[reprompt]
|
-- [reprompt]
|
||||||
[{-doCallback "refined" cat [return_ [catFieldId cat]] []-}]]
|
-- [{-doCallback "refined" cat [return_ [catFieldId cat]] []-}]]
|
||||||
]
|
]
|
||||||
]
|
]
|
||||||
++ concatMap (uncurry (fun2sub gr cat)) fs
|
++ concatMap (uncurry (fun2sub gr cat)) fs
|
||||||
|
|||||||
Reference in New Issue
Block a user