Use body attribute instead of find in AskDialog

Sao.Dialog doesn't have a find method but it defines body attribute.

issue5158
review20591002
This commit is contained in:
Cédric Krier committed 2015-12-13 14:36:11 +01:00
1 parent c95b2858af
commit 4b23b2349a
1 file changed
+1 -2
+1 -2
View File
@@ -2781,8 +2781,7 @@
'type': visibility ? 'input' : 'password',
'id': 'ask-dialog-entry'
});
var body = dialog.find('.modal-body');
body.append(jQuery('<div/>', {
dialog.body.append(jQuery('<div/>', {
'class': 'form-group'
}).append(jQuery('<label/>', {
'for': 'ask-dialog-entry'