return ('0000' + d.toString(16)).slice(-4);
}
+ function hexstr6 ( d ) {
+ return ('000000' + d.toString(16)).slice(-6);
+ }
+
function fixstr ( d ) {
var r = d.toString();
var l = r.length;
if (s.type == 'CA') {
d = 'CAIDS: ';
for (j = 0; j < s.caids.length; j++) {
- d += s.caids[j].caid + ', ';
+ if (j > 0) d += ', ';
+ d += hexstr(s.caids[j].caid) + ':';
+ d += hexstr6(s.caids[j].provider);
}
}
html += '<td>' + d + '</td>';
var win = new Ext.Window({
title : 'Service details for ' + data.name,
layout : 'fit',
- width : 600,
+ width : 650,
height : 300,
plain : true,
bodyStyle : 'padding: 5px',