Survey: stopped RTE from overlapping dialog buttons in Edit Survey page

This commit is contained in:
Patrick Donelan 2009-06-26 02:29:51 +00:00
parent c237a0c8b7
commit 9ac8ca9137
4 changed files with 2 additions and 6 deletions

View file

@ -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);