remove print statements

This commit is contained in:
rolux 2012-06-23 12:50:02 +02:00
parent 03418d2952
commit 2a5d06717e

View file

@ -73,7 +73,6 @@ Ox.ExamplePanel = function(options, self) {
})
.bindEvent({
select: function(data) {
Ox.print('SELECT', data.ids[0])
if (!data.ids[0] || !Ox.endsWith(data.ids[0], '/')) {
selectItem(
data.ids[0] ? data.ids[0].split('/').pop() : ''
@ -129,7 +128,6 @@ Ox.ExamplePanel = function(options, self) {
function selectItem(id) {
var item = id ? getItemByName(id) : null;
Ox.print('SELECT ITEM', id, item)
if (item) {
self.options.selected = id;
self.$list.options({selected: [item.section + '/' + id]});