diff --git a/admin/panels/widgets/admin.widgets.js b/admin/panels/widgets/admin.widgets.js index a234433..39442fb 100644 --- a/admin/panels/widgets/admin.widgets.js +++ b/admin/panels/widgets/admin.widgets.js @@ -1,6 +1,6 @@ /* - * nibble widget js admin - * Based on original nibble' code + * FlatPress widget js admin + * Based on original FlatPress' code * Require jQuery and jQuery UI (Core, Draggable, Droppable and Effects Core) * Coded by Piero VDFN * Re-Coded by liquibyte @@ -12,7 +12,7 @@ * accepts drag and drop from installed widgets to remove. * Released under GNU GPL v2 */ -var nibble = { +var FlatPress = { winstancedrag : function() { $('.widget-class').draggable({ 'scroll' : true, @@ -67,7 +67,7 @@ var nibble = { if (parent.children().length < 1) { parent.append('
  • Drop here
  • '); } - nibble.wreload(); + FlatPress.wreload(); } }); }, @@ -94,7 +94,7 @@ var nibble = { if (parent.children().length < 1) { parent.append('
  • Drop here
  • '); } - nibble.wreload(); + FlatPress.wreload(); } }); }, @@ -120,7 +120,7 @@ var nibble = { setTimeout(function() { draggable.remove(); }); - nibble.wreload(); + FlatPress.wreload(); } }); $('.widget-class').droppable({ @@ -144,7 +144,7 @@ var nibble = { setTimeout(function() { draggable.remove(); }); - nibble.wreload(); + FlatPress.wreload(); } }); @@ -155,4 +155,4 @@ var nibble = { this.wplaceholder(); } } -nibble.wreload();nibble.wtrash(); \ No newline at end of file +FlatPress.wreload();FlatPress.wtrash(); \ No newline at end of file