From af7fe6be40f897d60ab76c063a16299dc1309ae3 Mon Sep 17 00:00:00 2001 From: Yung Han Khoe Date: Sun, 6 Apr 2008 18:42:15 +0000 Subject: [PATCH] Thingy: edit/add field popup doesn't fit all options --- docs/changelog/7.x.x.txt | 1 + www/extras/wobject/Thingy/thingy.js | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index 9ec05b19f..f0ff5755e 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -3,6 +3,7 @@ - fixed: Thingy: field types not in alphabetical order - fixed: Thingy: Text, File and Hidden field types listed twice (Yung Han Khoe) - fixed: Thingy: subtext is not displayed + - fixed: Thingy: edit/add field popup doesn't fit all options 7.5.9 - fixed: Collaboration System attachments follow site's max size instead of CS's diff --git a/www/extras/wobject/Thingy/thingy.js b/www/extras/wobject/Thingy/thingy.js index 1d4c11d5b..94b58ace7 100644 --- a/www/extras/wobject/Thingy/thingy.js +++ b/www/extras/wobject/Thingy/thingy.js @@ -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 } ] } );