Details
Description
I was working on iplookup and could not find any way to replace old unload hook previously in header meta code, what is the current way?
TODO left in iplookup/index.php
Attachments
Issue Links
| This issue has a non-specific relationship to: | ||||
| MDL-19874 | import GeoIP 1.80 into HEAD and make iplookup work again |
|
|
|
Actually, that was not in the meta parameter, but in the $bodytags parameter, which adds extra attributes to the <body> tag.
Anyway, the correct way to fix this is to add the unload handler during the load event.
I think this patch fixes it, but I cannot work out how to test the iplookup page. It will only give me error messages. So I am attaching the fix here for you to test.