JavaScript removed from dashboard#index template.
This commit is contained in:
parent
f038057b9d
commit
0d9f73fa1e
3 changed files with 7 additions and 3 deletions
|
@ -2,6 +2,12 @@
|
|||
* Init dashboard page
|
||||
*
|
||||
*/
|
||||
|
||||
$(function(){
|
||||
Pager.init(20, true);
|
||||
dashboardPage();
|
||||
});
|
||||
|
||||
function dashboardPage(){
|
||||
$(".event_filter_link").bind('click',(function(){
|
||||
enableFilter(this.id);
|
||||
|
|
|
@ -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); });
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue