fixed #9076: Thingy broken in latest beta, Save and Close buttons missing from Add/Edit Field dialogs

This commit is contained in:
Yung Han Khoe 2008-11-14 17:31:22 +00:00
parent 1d5859631c
commit c9946708b5
2 changed files with 4 additions and 0 deletions

View file

@ -162,6 +162,7 @@ function editListItem(url,fieldId) {
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: "420px",
autofillheight:false,
buttons : [ { text:"Submit", handler:handleSubmit, isDefault:true },
{ text:"Cancel", handler:handleCancel } ]
} );
@ -289,6 +290,7 @@ function initAddFieldDialog() {
var addFieldDialog = new YAHOO.widget.Dialog("addDialog", { width:"460px", visible:false,
draggable:true, close:true, fixedcenter:true, zIndex:11002, height: "420px",
autofillheight:false,
buttons : [ { text:"Submit", handler:handleSubmit, isDefault:true },
{ text:"Cancel", handler:handleCancel } ]
} );