diff --git a/build/js/ox.ui.js b/build/js/ox.ui.js index 7c28a00f..81189c2b 100644 --- a/build/js/ox.ui.js +++ b/build/js/ox.ui.js @@ -636,7 +636,10 @@ requires bufferTime = time; } focused && $elements[focused].triggerEvent('key_' + key); - //return false; + if (['down', 'space', 'up'].indexOf(key) > -1) { + // prevent chrome from scrolling + return false; + } /* $.each(stack, function(i, v) { // fixme: we dont get the return value! @@ -711,7 +714,7 @@ requires function callback(data) { delete requests[options.id]; - Ox.length(requests) == 0 && $body.trigger('requestStop'); + //Ox.length(requests) == 0 && $body.trigger('requestStop'); options.callback && options.callback(data); } @@ -843,7 +846,7 @@ requires url: options.url }); //Ox.print('request', options.data, Ox.length(requests)); - Ox.length(requests) == 1 && $body.trigger('requestStart'); + //Ox.length(requests) == 1 && $body.trigger('requestStart'); } } @@ -4294,6 +4297,7 @@ requires Ox.Select = function(options, self) { + // fixme: selected item needs attribute "checked", not "selected" ... that's strange var self = self || {}, that = new Ox.Element('div', self) // fixme: do we use 'div', or {}, or '', by default? .defaults({