From 4b23b2349a970e10e9d9d4cf2cbb1ff64623255c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Sun, 13 Dec 2015 14:36:11 +0100 Subject: [PATCH] Use body attribute instead of find in AskDialog Sao.Dialog doesn't have a find method but it defines body attribute. issue5158 review20591002 --- src/common.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common.js b/src/common.js index e9103e1f51..3372fe3b37 100644 --- a/src/common.js +++ b/src/common.js @@ -2781,8 +2781,7 @@ 'type': visibility ? 'input' : 'password', 'id': 'ask-dialog-entry' }); - var body = dialog.find('.modal-body'); - body.append(jQuery('
', { + dialog.body.append(jQuery('
', { 'class': 'form-group' }).append(jQuery('