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",
|
width: "600px",
|
||||||
context: [document.body, 'tr', 'tr'],
|
context: [document.body, 'tr', 'tr'],
|
||||||
visible: false,
|
visible: false,
|
||||||
buttons: btns
|
buttons: btns,
|
||||||
|
constrainToViewport: true
|
||||||
});
|
});
|
||||||
|
|
||||||
dialog.callback = Survey.Comm.callback;
|
dialog.callback = Survey.Comm.callback;
|
||||||
|
|
@ -169,11 +170,6 @@ Survey.ObjectTemplate = (function(){
|
||||||
var textareaId = type + 'Text';
|
var textareaId = type + 'Text';
|
||||||
var textarea = YAHOO.util.Dom.get(textareaId);
|
var textarea = YAHOO.util.Dom.get(textareaId);
|
||||||
|
|
||||||
var height = YAHOO.util.Dom.getStyle(textarea, 'height');
|
|
||||||
if (!height) {
|
|
||||||
height = '300px';
|
|
||||||
}
|
|
||||||
|
|
||||||
dialog.show();
|
dialog.show();
|
||||||
initHoverHelp(type);
|
initHoverHelp(type);
|
||||||
Survey.ObjectTemplate.showEditor();
|
Survey.ObjectTemplate.showEditor();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue