myexperiment-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[myexperiment-hackers] [1915] branches/event_logging/app/views/users/sho


From: noreply
Subject: [myexperiment-hackers] [1915] branches/event_logging/app/views/users/show.rhtml: News feeds.
Date: Mon, 3 Nov 2008 06:46:42 -0500 (EST)

Revision
1915
Author
alekses6
Date
2008-11-03 06:46:41 -0500 (Mon, 03 Nov 2008)

Log Message

News feeds. Bug-fix: user's profile page won't scroll down to the news tab on load for "show" action (but will still do for every other action calling the tabs on the page - including "news").

Modified Paths

Diff

Modified: branches/event_logging/app/views/users/show.rhtml (1914 => 1915)


--- branches/event_logging/app/views/users/show.rhtml	2008-10-31 16:58:29 UTC (rev 1914)
+++ branches/event_logging/app/views/users/show.rhtml	2008-11-03 11:46:41 UTC (rev 1915)
@@ -469,7 +469,7 @@
   <%= render :partial => "networks/invite", :locals => { :current => current_user, :user => @user } %>
 <% end %>
 
-<% unless @tab.blank? -%>
+<% unless @tab.blank? || controller.action_name.downcase == "show" -%>
 	<script>
 		$('user_tabnav').scrollTo();
 	</script>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]