diff --git a/javascript/WidgetAreaEditor.js b/javascript/WidgetAreaEditor.js index 9ef84f01..b824e549 100644 --- a/javascript/WidgetAreaEditor.js +++ b/javascript/WidgetAreaEditor.js @@ -1,7 +1,7 @@ -WidgetAreaEditor = Class.create(); -WidgetAreaEditor.applyTo('div.WidgetAreaEditor'); +WidgetAreaEditorClass = Class.create(); +WidgetAreaEditorClass.applyTo('div.WidgetAreaEditor'); -WidgetAreaEditor.prototype = { +WidgetAreaEditorClass.prototype = { initialize: function() { UsedWidget.applyToChildren($('WidgetAreaEditor_usedWidgets'), 'div.Widget');