Project

General

Profile

Bug #18965 » 0008724_4-1.patch

Administrator Admin, 2008-06-22 15:50

View differences:

t3lib/jsfunc.inline.js (Arbeitskopie)
if (!records[i].length) continue;
headerObj = $(objectPrefix+'['+records[i]+']_header');
sortingObj[0] = Element.getElementsByClassName(headerObj, 'sortingUp');
sortingObj[1] = Element.getElementsByClassName(headerObj, 'sortingDown');
sortingObj[0] = Element.getElementsBySelector(headerObj, '.sortingUp');
sortingObj[1] = Element.getElementsBySelector(headerObj, '.sortingDown');
if (sortingObj[0].length) {
sortingObj[0][0].style.visibility = (i == 0 ? 'hidden' : 'visible');
......
// Remove from TBE_EDITOR (required fields, required range, etc.):
if (TBE_EDITOR && TBE_EDITOR.removeElement) {
inlineRecords = Element.getElementsByClassName(objectId+'_div', 'inlineRecord');
inlineRecords = Element.getElementsBySelector(objectId+'_div', '.inlineRecord');
// Remove nested child records from TBE_EDITOR required/range checks:
for (i=inlineRecords.length-1; i>=0; i--) {
if (inlineRecords[i].value.length) {
(1-1/2)