From ca225d92c38d955f3c39fd80e031396fee7723a3 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Thu, 2 May 2013 11:18:29 +0300 Subject: Replace inline document.ready with dispatcher --- app/views/projects/edit.html.haml | 3 --- app/views/projects/new.html.haml | 3 --- app/views/projects/show.html.haml | 2 -- 3 files changed, 8 deletions(-) (limited to 'app/views/projects') diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml index c050f9454a5..e215ad6fd73 100644 --- a/app/views/projects/edit.html.haml +++ b/app/views/projects/edit.html.haml @@ -8,6 +8,3 @@ %center = image_tag "ajax_loader.gif" %h3 Saving project. Please wait a moment, this page will automatically refresh when ready. - -:javascript - $(function(){ new Projects(); }); diff --git a/app/views/projects/new.html.haml b/app/views/projects/new.html.haml index eb4ef5979cf..8ff873aac65 100644 --- a/app/views/projects/new.html.haml +++ b/app/views/projects/new.html.haml @@ -7,6 +7,3 @@ %center = image_tag "ajax_loader.gif" %h3 Creating project & repository. Please wait a moment, this page will automatically refresh when ready. - -:javascript - $(function(){ new Projects(); }); diff --git a/app/views/projects/show.html.haml b/app/views/projects/show.html.haml index 2fe7daf8bb1..6edfd2ed401 100644 --- a/app/views/projects/show.html.haml +++ b/app/views/projects/show.html.haml @@ -17,5 +17,3 @@ %p Repo Size: #{@project.repository.size} MB %p Created at: #{@project.created_at.stamp('Aug 22, 2013')} %p Owner: #{link_to @project.owner_name, @project.owner} -:javascript - $(function(){ Pager.init(20); }); -- cgit v1.2.1