diff --git a/source/Ox.UI/js/List/Ox.TextList.js b/source/Ox.UI/js/List/Ox.TextList.js index d7e2b9af..4d9c557f 100644 --- a/source/Ox.UI/js/List/Ox.TextList.js +++ b/source/Ox.UI/js/List/Ox.TextList.js @@ -348,17 +348,19 @@ Ox.TextList = function(options, self) { }) .html(column.title) .appendTo(self.$heads[i]); - self.$orderButtons[i] = Ox.Button({ - style: 'symbol', - title: column.operator == '+' ? 'up' : 'down', - type: 'image' - }) - .addClass('OxOrder') - .css({marginTop: (column.operator == '+' ? 1 : -1) + 'px'}) - .click(function() { - $(this).parent().trigger('click'); - }) - .appendTo(self.$heads[i]); + if (column.operator) { + self.$orderButtons[i] = Ox.Button({ + style: 'symbol', + title: column.operator == '+' ? 'up' : 'down', + type: 'image' + }) + .addClass('OxOrder') + .css({marginTop: (column.operator == '+' ? 1 : -1) + 'px'}) + .click(function() { + $(this).parent().trigger('click'); + }) + .appendTo(self.$heads[i]); + } $resize = Ox.Element() .addClass('OxResize') .appendTo(that.$head.$content.$element); @@ -366,7 +368,7 @@ Ox.TextList = function(options, self) { $('