From 306890445e91afab9f483625eccbff4877b24f20 Mon Sep 17 00:00:00 2001 From: Florian Staudacher Date: Tue, 3 Sep 2013 23:15:12 +0200 Subject: [PATCH] remove obsolete view --- app/views/photos/_new_photo.haml | 18 ------------------ app/views/shared/_publisher.html.haml | 2 -- 2 files changed, 20 deletions(-) delete mode 100644 app/views/photos/_new_photo.haml diff --git a/app/views/photos/_new_photo.haml b/app/views/photos/_new_photo.haml deleted file mode 100644 index b3c2cc201..000000000 --- a/app/views/photos/_new_photo.haml +++ /dev/null @@ -1,18 +0,0 @@ --# Copyright (c) 2010-2011, Diaspora Inc. This file is --# licensed under the Affero General Public License version 3 or later. See --# the COPYRIGHT file. - -:javascript - function createUploader(){ - - var aspectIds = "#{aspect_ids}".split(','); - - var uploader = new qq.FileUploaderBasic({ - - params: {'photo' : {'pending' : 'true', 'aspect_ids' : aspectIds}, 'set_profile_image' : "#{set_profile_image if defined?(set_profile_image)}"}, - - - }); - } - - // createUploader(); diff --git a/app/views/shared/_publisher.html.haml b/app/views/shared/_publisher.html.haml index 0180a8108..f0a38fee6 100644 --- a/app/views/shared/_publisher.html.haml +++ b/app/views/shared/_publisher.html.haml @@ -89,5 +89,3 @@ #publisher_photo_upload - = render 'photos/new_photo', :aspect_ids => aspect_ids.join(',') -