Change nowrap class name
This commit is contained in:
@@ -68,9 +68,9 @@ $(document).ready(function() {
|
|||||||
$(td).attr('data-for-device', he.encode(rowData.ip));
|
$(td).attr('data-for-device', he.encode(rowData.ip));
|
||||||
$(td).attr('data-for-port', he.encode(rowData.port));
|
$(td).attr('data-for-port', he.encode(rowData.port));
|
||||||
},
|
},
|
||||||
"className": 'nd_editable-cell nd_port-display',
|
"className": 'nd_editable-cell nd_nowrap',
|
||||||
[% ELSE %]
|
[% ELSE %]
|
||||||
"className": 'nd_port-display',
|
"className": 'nd_nowrap',
|
||||||
[% END %]
|
[% END %]
|
||||||
"render": function(data, type, row, meta) {
|
"render": function(data, type, row, meta) {
|
||||||
if (type === 'display') {
|
if (type === 'display') {
|
||||||
@@ -107,7 +107,7 @@ $(document).ready(function() {
|
|||||||
"name": 'c_descr',
|
"name": 'c_descr',
|
||||||
"visible": false,
|
"visible": false,
|
||||||
"type": 'portsort',
|
"type": 'portsort',
|
||||||
"className": 'nd_port-display',
|
"className": 'nd_nowrap',
|
||||||
"data": "descr",
|
"data": "descr",
|
||||||
"render": function(data, type, row, meta) {
|
"render": function(data, type, row, meta) {
|
||||||
return type === 'display' ? he.encode(data || '') : data;
|
return type === 'display' ? he.encode(data || '') : data;
|
||||||
@@ -153,7 +153,7 @@ $(document).ready(function() {
|
|||||||
$(td).attr('data-for-device', he.encode(rowData.ip));
|
$(td).attr('data-for-device', he.encode(rowData.ip));
|
||||||
$(td).attr('data-for-port', he.encode(rowData.port));
|
$(td).attr('data-for-port', he.encode(rowData.port));
|
||||||
},
|
},
|
||||||
"className": 'nd_editable-cell nd_port-display',
|
"className": 'nd_editable-cell nd_nowrap',
|
||||||
"render": function(data, type, row, meta) {
|
"render": function(data, type, row, meta) {
|
||||||
if (type === 'display') {
|
if (type === 'display') {
|
||||||
var cell_str = '<i class="icon-edit nd_edit-icon"></i>'
|
var cell_str = '<i class="icon-edit nd_edit-icon"></i>'
|
||||||
@@ -267,7 +267,7 @@ $(document).ready(function() {
|
|||||||
"visible": false,
|
"visible": false,
|
||||||
"data": "power_admin",
|
"data": "power_admin",
|
||||||
"defaultContent": "",
|
"defaultContent": "",
|
||||||
"className": 'nd_port-display',
|
"className": 'nd_nowrap',
|
||||||
[% IF user_can_port_control AND params.c_admin %]
|
[% IF user_can_port_control AND params.c_admin %]
|
||||||
"createdCell": function (td, cellData, rowData, row, col) {
|
"createdCell": function (td, cellData, rowData, row, col) {
|
||||||
if (row.power_admin && row.power_admin === 'true') {
|
if (row.power_admin && row.power_admin === 'true') {
|
||||||
|
|||||||
Reference in New Issue
Block a user