remove print statements
This commit is contained in:
parent
03418d2952
commit
2a5d06717e
1 changed files with 0 additions and 2 deletions
|
@ -73,7 +73,6 @@ Ox.ExamplePanel = function(options, self) {
|
||||||
})
|
})
|
||||||
.bindEvent({
|
.bindEvent({
|
||||||
select: function(data) {
|
select: function(data) {
|
||||||
Ox.print('SELECT', data.ids[0])
|
|
||||||
if (!data.ids[0] || !Ox.endsWith(data.ids[0], '/')) {
|
if (!data.ids[0] || !Ox.endsWith(data.ids[0], '/')) {
|
||||||
selectItem(
|
selectItem(
|
||||||
data.ids[0] ? data.ids[0].split('/').pop() : ''
|
data.ids[0] ? data.ids[0].split('/').pop() : ''
|
||||||
|
@ -129,7 +128,6 @@ Ox.ExamplePanel = function(options, self) {
|
||||||
|
|
||||||
function selectItem(id) {
|
function selectItem(id) {
|
||||||
var item = id ? getItemByName(id) : null;
|
var item = id ? getItemByName(id) : null;
|
||||||
Ox.print('SELECT ITEM', id, item)
|
|
||||||
if (item) {
|
if (item) {
|
||||||
self.options.selected = id;
|
self.options.selected = id;
|
||||||
self.$list.options({selected: [item.section + '/' + id]});
|
self.$list.options({selected: [item.section + '/' + id]});
|
||||||
|
|
Loading…
Reference in a new issue