don't display a blank line if an item doesn't have a title
This commit is contained in:
parent
83fbe6d366
commit
9ac49b6fcf
3 changed files with 25 additions and 1 deletions
|
|
@ -101,6 +101,7 @@ Ox.InfoList = function(options, self) {
|
|||
position: 'absolute',
|
||||
width: getItemWidth() - 144 + 'px',
|
||||
height: 196 + 'px',
|
||||
marginTop: '-2px',
|
||||
overflow: 'hidden'
|
||||
})
|
||||
.appendTo($info);
|
||||
|
|
@ -200,6 +201,10 @@ Ox.InfoList = function(options, self) {
|
|||
return that;
|
||||
};
|
||||
|
||||
that.updateInfo = function(id, options) {
|
||||
// ...
|
||||
}
|
||||
|
||||
that.value = function(id, key, value) {
|
||||
// fixme: make this accept id, {k: v, ...}
|
||||
if (arguments.length == 1) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue