mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
* B #5291 Solved bug with integer dates in showback order * B #5291 Solved bug in all datatable when field is number
This commit is contained in:
parent
e729241903
commit
cba1e26ce9
@ -53,7 +53,8 @@ define(function(require) {
|
||||
{ "bSortable": false, "aTargets": ["check",2,3,4,5,6,7] },
|
||||
{"sWidth": "35px", "aTargets": [0]},
|
||||
{"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(TAB_NAME)},
|
||||
{"bVisible": false, "aTargets": ['_all']}
|
||||
{"bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "num", "aTargets": [1]}
|
||||
]
|
||||
};
|
||||
|
||||
|
@ -54,7 +54,8 @@ define(function(require) {
|
||||
{"bSortable": false, "aTargets": ["check"] },
|
||||
{"sWidth": "35px", "aTargets": [0]},
|
||||
{"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(TAB_NAME)},
|
||||
{"bVisible": false, "aTargets": ['_all']}
|
||||
{"bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "num", "aTargets": [1, 3, 4, 5]}
|
||||
]
|
||||
};
|
||||
|
||||
|
@ -73,7 +73,8 @@ define(function(require) {
|
||||
{"sWidth": "35px", "aTargets": [0]},
|
||||
{"sWidth": "250px", "aTargets": [5]},
|
||||
{"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(TAB_NAME)},
|
||||
{"bVisible": false, "aTargets": ['_all']}
|
||||
{"bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "num", "aTargets": [1,6]}
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -57,7 +57,8 @@ define(function(require) {
|
||||
{"sWidth": "35px", "aTargets": [0]},
|
||||
{"sWidth": "150px", "aTargets": [4,5,6] },
|
||||
{"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(TAB_NAME)},
|
||||
{"bVisible": false, "aTargets": ['_all']}
|
||||
{"bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "num", "aTargets": [1, 3]}
|
||||
]
|
||||
};
|
||||
|
||||
|
@ -61,7 +61,8 @@ define(function(require) {
|
||||
{"bSortable": false, "aTargets": ["check", 5, 6, 7, 8]},
|
||||
{"sWidth": "35px", "aTargets": [0]},
|
||||
{"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(TAB_NAME)},
|
||||
{"bVisible": false, "aTargets": ['_all']}
|
||||
{"bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "num", "aTargets": [1, 4]}
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -57,7 +57,8 @@ define(function(require) {
|
||||
{"sWidth": "35px", "aTargets": [0]},
|
||||
{"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(tabId)},
|
||||
{"bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "file-size", "aTargets": [ 6 ] }
|
||||
{"sType": "file-size", "aTargets": [ 6 ] },
|
||||
{"sType": "num", "aTargets": [1, 11]}
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -76,7 +76,8 @@ define(function(require) {
|
||||
{"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(TAB_NAME)},
|
||||
{"bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "file-size", "aTargets": [ 6 ]},
|
||||
{"sType": "date-euro", "aTargets": [ 9 ]}
|
||||
{"sType": "date-euro", "aTargets": [ 9 ]},
|
||||
{"sType": "num", "aTargets": [1, 11]}
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,8 @@ define(function(require) {
|
||||
{"sWidth": "35px", "aTargets": [0]},
|
||||
{"sWidth": "250px", "aTargets": [5]},
|
||||
{"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(TAB_NAME)},
|
||||
{"bVisible": false, "aTargets": ['_all']}
|
||||
{"bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "num", "aTargets": [1, 6, 8]}
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -57,7 +57,8 @@ define(function(require) {
|
||||
{"bSortable": false, "aTargets": ["check"]},
|
||||
{"sWidth": "35px", "aTargets": [0]},
|
||||
{"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(TAB_NAME)},
|
||||
{"bVisible": false, "aTargets": ['_all']}
|
||||
{"bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "num", "aTargets": [1]}
|
||||
]
|
||||
};
|
||||
|
||||
|
@ -56,7 +56,8 @@ define(function(require) {
|
||||
{"bSortable": false, "aTargets": ["check"]},
|
||||
{"sWidth": "35px", "aTargets": [0]},
|
||||
{"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(TAB_NAME)},
|
||||
{"bVisible": false, "aTargets": ['_all']}
|
||||
{"bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "num", "aTargets": [1]}
|
||||
]
|
||||
};
|
||||
|
||||
|
@ -56,7 +56,8 @@ define(function(require) {
|
||||
{"bSortable": false, "aTargets": ["check"]},
|
||||
{"sWidth": "35px", "aTargets": [0]},
|
||||
{"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(TAB_NAME)},
|
||||
{"bVisible": false, "aTargets": ['_all']}
|
||||
{"bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "num", "aTargets": [1]}
|
||||
]
|
||||
};
|
||||
|
||||
|
@ -59,7 +59,8 @@ define(function(require) {
|
||||
{"sWidth": "35px", "aTargets": [0]},
|
||||
{"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(tabId)},
|
||||
{"bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "date-euro", "aTargets": [ 5 ]}
|
||||
{"sType": "date-euro", "aTargets": [ 5 ]},
|
||||
{"sType": "num", "aTargets": [1]}
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -56,11 +56,12 @@ define(function(require) {
|
||||
"bSortClasses" : false,
|
||||
"bDeferRender": true,
|
||||
"aoColumnDefs": [
|
||||
{ "bSortable": false, "aTargets": ["check",6,7,8] },
|
||||
{"bSortable": false, "aTargets": ["check",6,7,8] },
|
||||
{"sWidth": "35px", "aTargets": [0]},
|
||||
{ "sWidth": "150px", "aTargets": [6,7,8] },
|
||||
{"sWidth": "150px", "aTargets": [6,7,8] },
|
||||
{"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(TAB_NAME)},
|
||||
{"bVisible": false, "aTargets": ['_all']}
|
||||
{"bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "num", "aTargets": [1]}
|
||||
]
|
||||
};
|
||||
|
||||
|
@ -57,7 +57,8 @@ define(function(require) {
|
||||
{ "bSortable": false, "aTargets": ["check"] },
|
||||
{ "sWidth": "35px", "aTargets": [0] },
|
||||
{ "bVisible": true, "aTargets": Config.tabTableColumns(TAB_NAME)},
|
||||
{ "bVisible": false, "aTargets": ['_all']}
|
||||
{ "bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "num", "aTargets": [1, 3, 5, 6, 7]}
|
||||
]
|
||||
};
|
||||
|
||||
|
@ -57,7 +57,8 @@ define(function(require) {
|
||||
{"bSortable": false, "aTargets": ["check"]},
|
||||
{"sWidth": "35px", "aTargets": [0]},
|
||||
{"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(TAB_NAME)},
|
||||
{"bVisible": false, "aTargets": ['_all']}
|
||||
{"bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "num", "aTargets": [1]}
|
||||
]
|
||||
};
|
||||
|
||||
|
@ -59,7 +59,8 @@ define(function(require) {
|
||||
{"bSortable": false, "aTargets": ["check"]},
|
||||
{"sWidth": "35px", "aTargets": [0]},
|
||||
{"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(TAB_NAME)},
|
||||
{"bVisible": false, "aTargets": ['_all']}
|
||||
{"bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "num", "aTargets": [1, 6]}
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -56,7 +56,8 @@ define(function(require) {
|
||||
{"bSortable": false, "aTargets": ["check"]},
|
||||
{"sWidth": "35px", "aTargets": [0]},
|
||||
{"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(TAB_NAME)},
|
||||
{"bVisible": false, "aTargets": ['_all']}
|
||||
{"bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "num", "aTargets": [1]}
|
||||
]
|
||||
};
|
||||
|
||||
|
@ -54,7 +54,8 @@ define(function(require) {
|
||||
{"bSortable": false, "aTargets": ["check"]},
|
||||
{"sWidth": "35px", "aTargets": [0]},
|
||||
{"bVisible": true, "aTargets": SunstoneConfig.tabTableColumns(TAB_NAME)},
|
||||
{"bVisible": false, "aTargets": ['_all']}
|
||||
{"bVisible": false, "aTargets": ['_all']},
|
||||
{"sType": "num", "aTargets": [1]}
|
||||
]
|
||||
}
|
||||
|
||||
|
@ -74,7 +74,8 @@ define(function(require) {
|
||||
"iDisplayLength": 6,
|
||||
"sDom": "t<'row collapse'<'small-12 columns'p>>",
|
||||
"aoColumnDefs": [
|
||||
{ "bVisible": false, "aTargets": [0,1,2]}
|
||||
{ "bVisible": false, "aTargets": [0,1,2]},
|
||||
{ "sType": "num", "aTargets": [4]}
|
||||
]
|
||||
});
|
||||
|
||||
@ -82,7 +83,10 @@ define(function(require) {
|
||||
|
||||
showback_vms_dataTable = $("#showback_vms_datatable",context).dataTable({
|
||||
"bSortClasses" : false,
|
||||
"bDeferRender": true
|
||||
"bDeferRender": true,
|
||||
"aoColumnDefs": [
|
||||
{ "sType": "num", "aTargets": [0,3,4]}
|
||||
]
|
||||
});
|
||||
|
||||
showback_dataTable.on("click", "tbody tr", function(){
|
||||
|
Loading…
x
Reference in New Issue
Block a user