Translations: English
Search on Docs:
   
ActionItem Search:

#2383: must unify Javascript code to open pop-ups

Type: BugItem Feature:   Tags: colivre
ScheduledFor:   Assigned to:   Sites:  
Priority: 0 Status: Pending  

Description of the bug

Noosfero currently user four different solutions for Javascript pop. If you count jQuery UI, that makes five.

$ ls public/javascripts/*box*
public/javascripts/colorbox.js
public/javascripts/jquery.fancybox-1.3.4.pack.js
public/javascripts/lightbox.js
public/javascripts/thickbox.js
$ ack-grep -l thickbox app/
app/helpers/thickbox_helper.rb
app/helpers/application_helper.rb
app/helpers/boxes_helper.rb
app/views/shared/user_menu.rhtml
app/views/account/login.rhtml
app/views/layouts/_javascript.rhtml
app/views/layouts/application-ng.rhtml
$ ack-grep -l lightbox app/
app/helpers/application_helper.rb
app/helpers/lightbox_helper.rb
app/helpers/boxes_helper.rb
app/views/home/index.rhtml
app/views/shared/user_menu.rhtml
app/views/cms/view.rhtml
app/views/cms/why_categorize.rhtml
app/views/cms/edit.rhtml
app/views/cms/select_article_type.rhtml
app/views/content_viewer/_article_toolbar.rhtml
app/views/content_viewer/view_page.rhtml
app/views/themes/add_css.rhtml
app/views/themes/edit.rhtml
app/views/themes/index.rhtml
app/views/box_organizer/edit.rhtml
app/views/box_organizer/add_block.rhtml
app/views/box_organizer/index.rhtml
app/views/profile/leave.rhtml
app/views/profile/join.rhtml
app/views/account/index_anonymous.rhtml
app/views/account/logout_popup.rhtml
app/views/account/_login_form.rhtml
app/views/layouts/_javascript.rhtml
$ ack-grep -l colorbox app/
app/helpers/application_helper.rb
app/views/content_viewer/_comment_form.rhtml
app/views/profile/report_abuse.html.erb
app/views/layouts/_javascript.rhtml
$ ack-grep -l fancybox app/
app/helpers/application_helper.rb

This is maintainance hell, and must be fixed ASAP.

-- AntonioTerceiro -- 20 Jul 2012
Add comment
You need to login to be able to comment.
 

ActionItemForm edit

Title must unify Javascript code to open pop-ups
ActionItemType BugItem
Priority Low
Tags colivre
Feature
Plugin
ResponsibleDevelopers
AffectsVersion 0.38.0
Status Pending
Ticket SAC:
Topic revision: r1 - 22 May 2015, UnknownUser

irc Talk with Devs Now!

Copyright © 2007-2019 by the Noosfero contributors
Colivre - Cooperativa de Tecnologias Livres