Thingy: edit/add field popup doesn't fit all options

This commit is contained in:
Yung Han Khoe 2008-04-06 18:42:15 +00:00
parent f5c3c977ae
commit af7fe6be40
2 changed files with 3 additions and 2 deletions

View file

@ -161,7 +161,7 @@ function editListItem(url,fieldId) {
function optionalFields() {
initOptionalFields("edit_"+fieldId+"_Dialog",fieldId);
}
editFieldDialog = new YAHOO.widget.Dialog("edit_"+fieldId+"_Dialog", { width:"460px", visible:false, draggable:true, close:true, fixedcenter:true, zIndex:11001, height: "400px",
editFieldDialog = new YAHOO.widget.Dialog("edit_"+fieldId+"_Dialog", { width:"460px", visible:false, draggable:true, close:true, fixedcenter:true, zIndex:11001, height: "420px",
buttons : [ { text:"Submit", handler:handleSubmit, isDefault:true },
{ text:"Cancel", handler:handleCancel } ]
} );
@ -282,7 +282,7 @@ function initAddFieldDialog() {
};
var addFieldDialog = new YAHOO.widget.Dialog("addDialog", { width:"460px", visible:false,
draggable:true, close:true, fixedcenter:true, zIndex:11002, height: "400px",
draggable:true, close:true, fixedcenter:true, zIndex:11002, height: "420px",
buttons : [ { text:"Submit", handler:handleSubmit, isDefault:true },
{ text:"Cancel", handler:handleCancel } ]
} );