Index: t3lib/jsfunc.inline.js =================================================================== --- t3lib/jsfunc.inline.js (revision 7533) +++ t3lib/jsfunc.inline.js (working copy) @@ -54,11 +54,12 @@ if(($(objectId+'_fields') && $("irre-loading-indicator"+objectId)) || inline.isLoading) { return false; } else if ($(objectId+'_fields') && $(objectId+'_fields').innerHTML.substr(0,16) == '') { + inline.isLoading = true; // add loading-indicator - if ($(objectId+'_label')) { - $(objectId+'_label').insert({before:' '}); - } - inline.isLoading = true; + if ($(objectId + '_icon')) { + $(objectId + '_icon').hide(); + $(objectId + '_iconcontainer').addClassName('loading-indicator'); + } return this.getRecordDetails(objectId, returnURL); } @@ -375,8 +376,10 @@ return; objectDiv.update(htmlData); // remove loading-indicator - if ($('irre-loading-indicator'+objectId)) - $('irre-loading-indicator'+objectId).remove(); + if ($(objectId + '_icon')) { + $(objectId + '_iconcontainer').removeClassName('loading-indicator'); + $(objectId + '_icon').show(); + } // now that the content is loaded, set the expandState this.expandCollapseRecord(objectId, expandSingle); }, Index: t3lib/class.t3lib_tceforms_inline.php =================================================================== --- t3lib/class.t3lib_tceforms_inline.php (revision 7533) +++ t3lib/class.t3lib_tceforms_inline.php (working copy) @@ -539,7 +539,7 @@ } $altText = t3lib_BEfunc::getRecordIconAltText($rec, $foreign_table); - $iconImg = t3lib_iconWorks::getIconImage($foreign_table, $rec, $this->backPath, 'title="'.htmlspecialchars($altText).'" class="absmiddle"'); + $iconImg = t3lib_iconWorks::getIconImage($foreign_table, $rec, $this->backPath, 'title="'.htmlspecialchars($altText).'" class="absmiddle" id="' . $objectId . '_icon"'); $label = '' . $recTitle . ''; if (!$isVirtualRecord) { $iconImg = $this->wrapWithAnchor($iconImg, '#', array('onclick' => $onClick)); @@ -553,7 +553,7 @@ 'fObj->borderStyle[2] ? ' background="'.htmlspecialchars($this->backPath.$this->fObj->borderStyle[2]).'"':''). ($this->fObj->borderStyle[3] ? ' class="'.htmlspecialchars($this->fObj->borderStyle[3]).'"':'').'>' . - '
'.$iconImg.''.$label.''.$ctrl.'
'; + ''.$iconImg.''.$label.''.$ctrl.''; return $header; }