From 502c441c9ddd1e6d26a1d2a969ec8ea407549428 Mon Sep 17 00:00:00 2001 From: UndefinedOffset Date: Fri, 29 Jun 2012 15:23:09 -0300 Subject: [PATCH] Removed background on the widgets (makes them harder to read) Removed references to NoWidgets in WidgetAreaEditor --- css/WidgetAreaEditor.css | 2 +- javascript/WidgetAreaEditor.js | 6 ------ 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/css/WidgetAreaEditor.css b/css/WidgetAreaEditor.css index fdac531..c5a45e0 100644 --- a/css/WidgetAreaEditor.css +++ b/css/WidgetAreaEditor.css @@ -35,7 +35,7 @@ div.availableWidgets div.Widget { border: 1px solid #ddd; border-top: none; margin-bottom: 10px; - background: #F0F3F4 url('../../cms/images/textures/bg_cms_main_content.png') repeat top left; + background: #F0F3F4; } div.widgetDescription{ diff --git a/javascript/WidgetAreaEditor.js b/javascript/WidgetAreaEditor.js index 34aa037..1a35b44 100644 --- a/javascript/WidgetAreaEditor.js +++ b/javascript/WidgetAreaEditor.js @@ -125,11 +125,6 @@ }, insertWidgetEditor: function(response) { - // Remove placeholder text - if($('#NoWidgets-'+$(this).attr('name')).length>0) { - $('#NoWidgets-'+$(this).attr('name')).remove(); - } - var usedWidgets = $('#usedWidgets-'+$(this).attr('name')).children(); // Give the widget a unique id @@ -161,7 +156,6 @@ deleteWidget: function(widgetToRemove) { // Remove a widget from the used widgets column widgetToRemove.remove(); - // TODO ... re-create NoWidgets div? } });