From 927e4c9ef607e7dea74917d93bbf8750b852be22 Mon Sep 17 00:00:00 2001 From: rolux Date: Thu, 28 Jun 2012 00:25:41 +0200 Subject: [PATCH] (+ one more) --- static/js/api/pandora.js | 25 ++++++++++--------------- 1 file changed, 10 insertions(+), 15 deletions(-) diff --git a/static/js/api/pandora.js b/static/js/api/pandora.js index 881c804af..5a8126bc8 100755 --- a/static/js/api/pandora.js +++ b/static/js/api/pandora.js @@ -70,15 +70,14 @@ var app = new Ox.App({ function constructList() { return new Ox.TableList({ columns: [ - { - align: "left", - id: "name", - operator: "+", - title: "Name", - unique: true, - visible: true, - width: 140 - }, + { + align: "left", + id: "name", + operator: "+", + title: "Name", + visible: true, + width: 140 + }, ], columnsMovable: false, columnsRemovable: false, @@ -110,12 +109,8 @@ function constructList() { } }, scrollbarVisible: true, - sort: [ - { - key: "name", - operator: "+" - } - ] + sort: [{key: "name", operator: "+"}], + unique: 'name' }).bindEvent({ select: function(data) { var info = $('
').addClass('OxSelectable'),