1
0
Fork 0
forked from 0x2620/oxjs

some support for adding/removing places

This commit is contained in:
rolux 2011-05-29 17:09:42 +02:00
commit ccc4a743d8
4 changed files with 76 additions and 44 deletions

View file

@ -1213,6 +1213,7 @@ Ox.List = function(options, self) {
clear();
self.requests.push(self.options.items({}, function(result) {
var keys = {};
Ox.print('INIT!!!', result.data)
that.triggerEvent('init', result.data);
self.rowLength = getRowLength();
self.pageLength = self.options.orientation == 'both' ?
@ -1320,7 +1321,7 @@ Ox.List = function(options, self) {
addItems <f> add item to list
(pos, items) -> <u> add items to list at position
pos <n> position to add items
items <a> array of items ot add
items <a> array of items to add
@*/
that.addItems = function(pos, items) {
var $items = [],