aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/direntry.tpl
diff options
context:
space:
mode:
Diffstat (limited to 'view/tpl/direntry.tpl')
-rwxr-xr-xview/tpl/direntry.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/direntry.tpl b/view/tpl/direntry.tpl
index 1761ed12d..461c5dcde 100755
--- a/view/tpl/direntry.tpl
+++ b/view/tpl/direntry.tpl
@@ -17,7 +17,7 @@
{{*if $entry.rateme*}}
<div id="dir-rating-wrapper-{{$entry.id}}" class="directory-rating" >{{if $entry.total_ratings}}<a href="ratings/{{$entry.hash}}"><button class="btn btn-default">{{$entry.total_ratings}}</button></a>{{/if}}
-<button class="btn btn-default"><i class="icon-pencil"></i></button>
+<button class="btn btn-default" onclick="doRatings('{{$entry.hash}}'); return false;" ><i class="icon-pencil"></i></button>
</div>
{{*/if*}}
{{if $entry.public_forum}}