forked from 0x2620/oxjs
catch some global vars
This commit is contained in:
parent
56370aa0a7
commit
1deb616942
8 changed files with 9 additions and 9 deletions
|
|
@ -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',
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue