bug fix for comments: use correct target URL
This commit is contained in:
		
							parent
							
								
									06a117f5d7
								
							
						
					
					
						commit
						b55ee6a7dd
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -57,7 +57,8 @@ class CommentsView(NodeView): | ||||||
| 
 | 
 | ||||||
|     @Lazy |     @Lazy | ||||||
|     def addUrl(self): |     def addUrl(self): | ||||||
|         return '%s/create_comment.html' % self.getUrlForTarget(self.context) |         return '%s/create_comment.html' % self.virtualTargetUrl | ||||||
|  |         #return '%s/create_comment.html' % self.getUrlForTarget(self.context) | ||||||
| 
 | 
 | ||||||
|     @Lazy |     @Lazy | ||||||
|     def addOnClick(self): |     def addOnClick(self): | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue