Modify

Opened 7 years ago

Closed 4 years ago

#1770 closed defect (wontfix)

Added Links do not appear in Safari 3

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

Description (last modified by rjollos)

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

For example wikinotification plugin has the following 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') 

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>

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by anonymous

  • Cc cgavos@… added

comment:2 Changed 7 years ago by anonymous

I can confirm that this is not just a Safari 3 problem. When running Safari 2.0.4 (from Mac OS X 10.4.9) the links do not appear either. Works fine in Firefox 2.0.0.6 as well as Camino 1.5.

comment:3 Changed 4 years ago by rjollos

  • Description modified (diff)
  • Resolution set to wontfix
  • Status changed from new to closed

The plugin author has indicated that 0.10 won't be maintained. Please try again with 0.11 branch.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.