1
0
Fork 0
forked from 0x2620/oxjs

catch some global vars

This commit is contained in:
rlx 2011-11-05 17:27:11 +00:00
commit 1deb616942
8 changed files with 9 additions and 9 deletions

View file

@ -106,7 +106,7 @@ Ox.InfoList = function(options, self) {
marginTop: '-2px',
overflow: 'hidden'
})
.appendTo($info);
.appendTo($info),
$item = Ox.Element()
.css({
width: getItemWidth() - 8 + 'px',

View file

@ -797,7 +797,8 @@ Ox.List = function(options, self) {
}
function mousedown(data) {
var pos = findItemPosition(data);
var pos = findItemPosition(data),
$cell, clickable, editable;
//self.hadFocus = that.hasFocus();
that.gainFocus();
if (pos > -1) {

View file

@ -614,7 +614,7 @@ Ox.TextList = function(options, self) {
//Ox.Log('List', 'getItem', id)
var $item = null;
that.$element.find('.OxItem').each(function() {
$this = $(this);
var $this = $(this);
if ($this.data('id') == id) {
$item = $this;
return false;