Modify

Opened 10 years ago

Closed 7 years ago

#1770 closed defect (wontfix)

Added Links do not appear in Safari 3

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

Description (last modified by Ryan J Ollos)

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 10 years ago by anonymous

Cc: cgavos@… added; anonymous removed

comment:2 Changed 10 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 7 years ago by Ryan J Ollos

Description: modified (diff)
Resolution: wontfix
Status: newclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Noah Kantrowitz.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


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

 
Note: See TracTickets for help on using tickets.