From cea12d25389af66e3ca0759c9104c6263f5b2e9a Mon Sep 17 00:00:00 2001 From: Dieter Date: Fri, 29 Jun 2012 17:25:29 +0200 Subject: [PATCH] fixed jquery remove error on line 130 --- javascript/WidgetAreaEditor.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/javascript/WidgetAreaEditor.js b/javascript/WidgetAreaEditor.js index 11fbf1e..34aa037 100644 --- a/javascript/WidgetAreaEditor.js +++ b/javascript/WidgetAreaEditor.js @@ -127,7 +127,7 @@ insertWidgetEditor: function(response) { // Remove placeholder text if($('#NoWidgets-'+$(this).attr('name')).length>0) { - $('#usedWidgets-'+$(this).attr('name')).remove($('#NoWidgets-'+$(this).attr('name'))); + $('#NoWidgets-'+$(this).attr('name')).remove(); } var usedWidgets = $('#usedWidgets-'+$(this).attr('name')).children();