Project

General

Profile

Actions

Bug #23530

closed

Javascript Error in taskcenter

Added by Steffen Kamper about 14 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-09-12
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

When you are in taskcenter>overview, the javascript adds event listeners to ul#task-list. But it doesn't exist in DOM

Solution:
Add listener only if element exists.

(issue imported from #M15691)


Files

15691.diff (3.54 KB) 15691.diff Administrator Admin, 2010-09-12 23:23
15691_v2.diff (4.14 KB) 15691_v2.diff Administrator Admin, 2010-09-23 23:03
Actions #1

Updated by Steffen Kamper about 14 years ago

committed to svn
4_4 rev 8786
trunk rev 8787

Actions #2

Updated by Steffen Kamper about 14 years ago

The change prevents the js error but also the drag&drop functionality.

Solution: revert this change, move js to external file and include only when tasklist is rendered with items.

Actions #3

Updated by Steffen Kamper about 14 years ago

committed v2 as follow-up to 4_4 and trunk rev 8864/8895.

Actions #4

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF