From ef15919a3ef297b577cdf031d07b8ba5da883293 Mon Sep 17 00:00:00 2001 From: rolux Date: Mon, 28 May 2012 15:55:35 +0200 Subject: [PATCH] rename the 'original event data' property of Ox.List drag & drop events from '_event' to 'event' --- source/Ox.UI/js/List/Ox.List.js | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/source/Ox.UI/js/List/Ox.List.js b/source/Ox.UI/js/List/Ox.List.js index 7386475c..8abedaba 100644 --- a/source/Ox.UI/js/List/Ox.List.js +++ b/source/Ox.UI/js/List/Ox.List.js @@ -387,45 +387,45 @@ Ox.List = function(options, self) { // fixme: shouldn't the target have been // automatically passed already, somewhere? that.triggerEvent('draganddropstart', { - ids: self.drag.ids, - _event: data + event: data, + ids: self.drag.ids }); } } function drag(data) { self.drag && that.triggerEvent('draganddrop', { - ids: self.drag.ids, - _event: data + event: data, + ids: self.drag.ids }); } function dragpause(data) { self.drag && that.triggerEvent('draganddroppause', { - ids: self.drag.ids, - _event: data + event: data, + ids: self.drag.ids }); } function dragenter(data) { self.drag && that.triggerEvent('draganddropenter', { - ids: self.drag.ids, - _event: data + event: data, + ids: self.drag.ids }); } function dragleave(data) { self.drag && that.triggerEvent('draganddropleave', { - ids: self.drag.ids, - _event: data + event: data, + ids: self.drag.ids }); } function dragend(data) { if (self.drag) { that.triggerEvent('draganddropend', { - ids: self.drag.ids, - _event: data + event: data, + ids: self.drag.ids }); delete self.drag; }