Skip to content

Commit

Permalink
Open help in a new window
Browse files Browse the repository at this point in the history
git-svn-id: svn://cherokee-project.com/CTK/trunk@4623 5dc97367-97f1-0310-9951-d761b3857238
  • Loading branch information
alobbs committed Mar 29, 2010
1 parent 1da94b6 commit 8a9e265
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CTK/Help.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__ (self, title, ref):

def Render (self):
render = Widget.Render(self)
render.html = '<div class="help_entry"><a href="/help/%s.html">%s</a></div>' %(self.ref, self.title)
render.html = '<div class="help_entry"><a href="/help/%s.html" target="cherokee_help">%s</a></div>' %(self.ref, self.title)
return render

def __repr__ (self):
Expand Down
2 changes: 1 addition & 1 deletion static/js/Help.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,6 @@ function Help_add_entries (helps) {
var name = helps[tmp][0];
var file = helps[tmp][1];

help.append ('<div class="help_entry merged"><a href="/help/'+file+'.html">'+name+'</a></div>');
help.append ('<div class="help_entry merged"><a href="/help/'+file+'.html" target="cherokee_help">'+name+'</a></div>');
}
}

0 comments on commit 8a9e265

Please sign in to comment.