[TYPO3-dam-devel] RFC Bugfix: 5681: Link Popup javascript error when changing DAM directory in File selection

Benjamin Mack benni at typo3.org
Sun May 4 01:14:27 CEST 2008


Hey all,

take 2. I changed the JS check to proper Javascript after discussing 
with a JS expert.

before: if (!jumpToUrl)
after:  if (jumpToUrl == undefined)

See [1] for more information.

BTW: The first patch works as well :)

[1] http://saladwithsteve.com/2008/02/javascript-undefined-vs-null.html

-- 
greetings,
benni.
-SDG-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20080504_5681_jumptourl_check.patch
Type: text/x-diff
Size: 1170 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-dam/attachments/20080504/9460d258/attachment.patch 


More information about the TYPO3-team-dam mailing list