forked from Sokomine/yl_speak_up
let new options point back to their dialog again
This commit is contained in:
parent
e91dc93b11
commit
05948116a0
@ -142,7 +142,7 @@ yl_speak_up.edit_mode_apply_changes = function(pname, fields)
|
||||
|
||||
-- add a new option/answer
|
||||
if(fields[ "add_option"]) then
|
||||
local future_o_id = yl_speak_up.add_new_option(dialog, pname, nil, d_id, "")
|
||||
local future_o_id = yl_speak_up.add_new_option(dialog, pname, nil, d_id, "", d_id)
|
||||
if(not(future_o_id)) then
|
||||
-- this is already checked earlier on and the button only shown if
|
||||
-- options can be added; so this can reamin a chat message
|
||||
|
Loading…
Reference in New Issue
Block a user