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? } });