Survey: stopped RTE from overlapping dialog buttons in Edit Survey page
This commit is contained in:
parent
c237a0c8b7
commit
9ac8ca9137
4 changed files with 2 additions and 6 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -141,7 +141,8 @@ Survey.ObjectTemplate = (function(){
|
|||
width: "600px",
|
||||
context: [document.body, 'tr', 'tr'],
|
||||
visible: false,
|
||||
buttons: btns
|
||||
buttons: btns,
|
||||
constrainToViewport: true
|
||||
});
|
||||
|
||||
dialog.callback = Survey.Comm.callback;
|
||||
|
|
@ -168,11 +169,6 @@ Survey.ObjectTemplate = (function(){
|
|||
|
||||
var textareaId = type + 'Text';
|
||||
var textarea = YAHOO.util.Dom.get(textareaId);
|
||||
|
||||
var height = YAHOO.util.Dom.getStyle(textarea, 'height');
|
||||
if (!height) {
|
||||
height = '300px';
|
||||
}
|
||||
|
||||
dialog.show();
|
||||
initHoverHelp(type);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue