From 0f6e40c7da019b3fd5d90b3b237e18875e130ba4 Mon Sep 17 00:00:00 2001 From: liquibyte Date: Wed, 29 Jan 2014 23:50:55 -0500 Subject: [PATCH] Things just don't seem to work right with git. Signed-off-by: liquibyte --- admin/panels/widgets/admin.widgets.js | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) 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