JavaScript removed from dashboard#index template.

This commit is contained in:
AlexDenisov 2013-01-09 05:58:27 +00:00 committed by Alex Denisov
parent f038057b9d
commit 0d9f73fa1e
3 changed files with 7 additions and 3 deletions

View file

@ -2,6 +2,12 @@
* Init dashboard page
*
*/
$(function(){
Pager.init(20, true);
dashboardPage();
});
function dashboardPage(){
$(".event_filter_link").bind('click',(function(){
enableFilter(this.id);

View file

@ -1,4 +1,3 @@
= javascript_include_tag 'dashboard'
- if @has_authorized_projects
.projects
.activities.span8
@ -8,5 +7,3 @@
- else
= render "zero_authorized_projects"
:javascript
$(function(){ Pager.init(20, true); });

View file

@ -7,6 +7,7 @@ Feature: Event filters
And this project has merge request event
And I visit dashboard page
@javascript
Scenario: I should see all events
Then I should see push event
And I should see new member event