changeset 2867:92d3afab8a2d beta

fix selection links on files sources
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 23 Sep 2012 22:52:30 +0200
parents 736678a8c881
children 4982f5b06e2b
files rhodecode/templates/files/files.html
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/files/files.html	Sun Sep 23 17:33:53 2012 +0200
+++ b/rhodecode/templates/files/files.html	Sun Sep 23 22:52:30 2012 +0200
@@ -89,6 +89,8 @@
     ypjax_links();
     tooltip_activate();
     fileBrowserListeners(State.url, State.data.node_list_url, State.data.url_base);
+    YUE.on('hlcode','mouseup',getSelectionLink("${_('Selection link')}"));
+
     // Inform Google Analytics of the change
     if ( typeof window.pageTracker !== 'undefined' ) {
         window.pageTracker._trackPageview(State.url);