fixed: Thingy: field type includes things without fields

This commit is contained in:
Yung Han Khoe 2008-03-27 13:47:08 +00:00
parent e862cb8303
commit f584a12273
3 changed files with 6 additions and 2 deletions

View file

@ -87,7 +87,8 @@ function initOptionalFields(prefix,fieldId) {
if (fieldInThing_module_rendered == thingId){
fieldInThing_module.show();
}else{
defaultFieldInThing_module.show();
}else{
var url = location.pathname + "?func=selectFieldInThing;thingId=" + thingId + ";prefix=" +prefix + ";fieldId=" + fieldId;
var handleSuccess = function(o){
fieldInThing_module.setBody(o.responseText);