Skip to content

Commit

Permalink
Quickfix for mc profile links.
Browse files Browse the repository at this point in the history
> В чате при нажатии на имя теперь вместо ответа вылезает ссыль на профиль.

http://nevendaar.com/forum/7-5-93792-16-1420389322
  • Loading branch information
korun committed Jan 9, 2015
1 parent 63df30b commit 51298ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 9 deletions.
8 changes: 0 additions & 8 deletions assets/javascripts/minichat.js

This file was deleted.

7 changes: 6 additions & 1 deletion templates/minichat/_message.html.erb
Expand Up @@ -9,7 +9,12 @@
<% }.endif! %>
</div>
<div class="top">
<a href="/index/8-<%= c '$USER_ID$' %>" title="Ответить" class="mc_username"><%= c '$NAME$' %></a>
<a href="/index/8-<%= c '$USER_ID$' %>"
title="Ответить"
class="mc_username"
onclick="var input = $('#mchatMsgF', parent.window.document); input.html(input.html() + '[i]' + $(this).text().replace('\n', '').trim() + '[/i], ').focus(); return false;">
<%= c '$NAME$' %>
</a>
<% uif('$EMAIL$') { %>
<a href="<%= c '$EMAIL_JS$' %>" title="<%= c '$STR_EMAIL$' %>">
<img src="http://s6.ucoz.net/t/601/e.gif">
Expand Down

1 comment on commit 51298ab

@korun
Copy link
Member Author

@korun korun commented on 51298ab Mar 19, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reverted in ce03cd3

Please sign in to comment.