Skip to content

Commit

Permalink
* [Bots/Conversations/Prompts] Fixed an issue with conversational bot…
Browse files Browse the repository at this point in the history
…s. If a file chooser prompt was shown and the user closed it without uploading anything, the conversation couldn't continue.

Fixes #744
  • Loading branch information
jstanden committed Aug 31, 2018
1 parent 1b3964f commit 758ca04
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions features/cerberusweb.core/templates/console/prompt_file.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,9 @@
$chooser.one('chooser_save', function(event) {
event.stopPropagation();
if(!event.values || 0 == event.values.length)
return;
for(var idx in event.values) {
$chat_input.val(event.values[idx]);
Expand Down

0 comments on commit 758ca04

Please sign in to comment.