From 9c698f31ff79770bbafcfe34589514b1f770c047 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 6 Jul 2009 22:25:12 +0000 Subject: [PATCH] Refix rendering problem with add/edit field dialog in Thingy. --- docs/changelog/7.x.x.txt | 1 + www/extras/wobject/Thingy/thingy.js | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/changelog/7.x.x.txt b/docs/changelog/7.x.x.txt index b7c91454e..662985e46 100644 --- a/docs/changelog/7.x.x.txt +++ b/docs/changelog/7.x.x.txt @@ -4,6 +4,7 @@ - fixed #10488: Map.gif is missing for Map wobject - fixed #10553: WebGUI vulnerable to CSRF attacks - fixed #10607: snippets empty + - fixed #10601: Edit field in Thing: no submit button 7.7.13 - fixed #10574: Creating Calendar Entry diff --git a/www/extras/wobject/Thingy/thingy.js b/www/extras/wobject/Thingy/thingy.js index d263f551b..2a850a9a8 100644 --- a/www/extras/wobject/Thingy/thingy.js +++ b/www/extras/wobject/Thingy/thingy.js @@ -171,8 +171,8 @@ function editListItem(url,fieldId,copy) { dialogId = dialogId + '_copy'; } - editFieldDialog = new YAHOO.widget.Dialog(dialogId, { width:"460px", visible:false, draggable:true,close:true, fixedcenter:true, zIndex:11001, height: "420px", - autofillheight:false, + editFieldDialog = new YAHOO.widget.Dialog(dialogId, { width:"460px", visible:false, draggable:true,close:true, fixedcenter:true, zIndex:11001, height: "430px", + autofillheight:null, buttons : [ { text:"Submit", handler:handleSubmit, isDefault:true }, { text:"Cancel", handler:handleCancel } ] } ); @@ -307,8 +307,8 @@ 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, + draggable:true, close:true, fixedcenter:true, zIndex:11002, height: "430px", + autofillheight:null, buttons : [ { text:"Submit", handler:handleSubmit, isDefault:true }, { text:"Cancel", handler:handleCancel } ] } );