From 21b2667f2a154c99fc36b43759c4c6366c82a1d2 Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 21 Mar 2012 14:01:18 +0000 Subject: [PATCH] more un flags in users dialog --- static/js/pandora/usersDialog.js | 68 ++++++++++++++++---------------- 1 file changed, 34 insertions(+), 34 deletions(-) diff --git a/static/js/pandora/usersDialog.js b/static/js/pandora/usersDialog.js index 5f51e07b..f4e81835 100644 --- a/static/js/pandora/usersDialog.js +++ b/static/js/pandora/usersDialog.js @@ -172,8 +172,8 @@ pandora.ui.usersDialog = function() { width: 16 }, { - format: function(value) { - return value ? Ox.Element({ + format: function(value, data) { + return Ox.Element({ element: '', tooltip: value }) @@ -186,7 +186,7 @@ pandora.ui.usersDialog = function() { borderRadius: '4px', marginLeft: '-3px', marginTop: 0 - }) : ''; + }); }, id: 'location', operator: '+', @@ -195,6 +195,37 @@ pandora.ui.usersDialog = function() { visible: true, width: 16 }, + { + format: function(value) { + var system; + Ox.forEach(systems, function(s) { + if (new RegExp('^' + s).test(value)) { + system = s; + return false; + } + }); + return system ? Ox.Element({ + element: '', + tooltip: value + }) + .attr({ + src: Ox.UI.PATH + 'png/system' + + system.replace(/ /g, '') + '128.png' + }) + .css({ + width: '14px', + height: '14px', + marginLeft: '-3px', + marginTop: 0 + }) : ''; + }, + id: 'system', + operator: '+', + title: 'System', + titleImage: 'icon', + visible: true, + width: 16 + }, { format: function(value) { var browser; @@ -226,37 +257,6 @@ pandora.ui.usersDialog = function() { visible: true, width: 16 }, - { - format: function(value) { - var system; - Ox.forEach(systems, function(s) { - if (new RegExp('^' + s).test(value)) { - system = s; - return false; - } - }); - return system ? Ox.Element({ - element: '', - tooltip: value - }) - .attr({ - src: Ox.UI.PATH + 'png/system' - + system.replace(/ /g, '') + '128.png' - }) - .css({ - width: '14px', - height: '14px', - marginLeft: '-3px', - marginTop: 0 - }) : ''; - }, - id: 'system', - operator: '+', - title: 'System', - titleImage: 'icon', - visible: true, - width: 16 - }, { align: 'right', format: function(value) {