fix #1467 console: confirmation code preview

This commit is contained in:
Herich 2017-07-28 16:44:50 +02:00 committed by Roman Volosovskyi
parent 3d05f99bd4
commit 7a3e9a1f96
1 changed files with 16 additions and 0 deletions

View File

@ -665,6 +665,22 @@ status.response({
return {markup: error}; return {markup: error};
} }
},
preview: function (params) {
return {
markup: status.components.text(
{},
params.code
)
};
},
shortPreview: function (params) {
return {
markup: status.components.text(
{},
params.code
)
};
} }
}); });