Opened 17 years ago

Last modified 14 years ago

#1770 closed defect

Added Links do not appear in Safari 3 — at Initial Version

Reported by: anonymous Owned by: Noah Kantrowitz
Priority: normal Component: CtxtnavAddPlugin
Severity: normal Keywords:
Cc: cgavos@… Trac Release: 0.10

Description

New links do not appear in Safari 3.0.2 (522.12). In firefox works fine.

For example wikinotification plugin has the following code:

<code>

# ICtxtnavAdder methods def match_ctxtnav_add(self, req):

return len(req.path_info) <= 1 or req.path_info == '/' or \

req.path_info.startswith('/wiki')

def get_ctxtnav_adds(self, req):

page = req.path_info[6:] or 'WikiStart' watched = self._get_watched_pages(req) if page in watched:

yield (req.href.notification(page), 'Un-Watch Page')

else:

yield (req.href.notification(page), 'Watch Page')

</code>

The html output looks fine but the new nodes are not appended in the <ul>

<html output> <script type="text/javascript">add_ctxtnav('<a href="/trac/notification/WikiStart">Watch Page</a>'); </script> </html output>

Change History (0)

Note: See TracTickets for help on using tickets.