use new-style mouse events in Ox.List
This commit is contained in:
parent
2043dc7a12
commit
be3b1d573d
8 changed files with 185 additions and 143 deletions
|
|
@ -17,7 +17,11 @@ Ox.Container = function(options, self) {
|
|||
var that = Ox.Element({}, self)
|
||||
.options(options || {})
|
||||
.addClass('OxContainer');
|
||||
that.$content = Ox.Element({}, self) // fixme: passing self twice??
|
||||
// fixme: we used to pass self _again_ to the content,
|
||||
// which obviously makes clicks trigger twice
|
||||
// removed for now, but may break something else.
|
||||
// (maybe, if needed, content can pass a container event along)
|
||||
that.$content = Ox.Element({})
|
||||
.options(options || {})
|
||||
.addClass('OxContent')
|
||||
.appendTo(that);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue