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:
1 parent
c95b2858af
commit
4b23b2349a
1 file changed
+1
-2
+1
-2
@@ -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'
|
||||
|
||||
Reference in new issue
Block a user