Removed background on the widgets (makes them harder to read)

Removed references to NoWidgets in WidgetAreaEditor
This commit is contained in:
UndefinedOffset 2012-06-29 15:23:09 -03:00
parent 5ade9048ca
commit 502c441c9d
2 changed files with 1 additions and 7 deletions

View File

@ -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{

View File

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