1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-21 14:50:08 +03:00

B #5291 Solved bugs number order (#430)

* 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:
Abel Coronado 2017-09-05 12:50:38 +02:00 committed by Tino Vázquez
parent e729241903
commit cba1e26ce9
19 changed files with 44 additions and 22 deletions

View File

@ -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]}
]
};

View File

@ -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]}
]
};

View File

@ -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]}
]
}

View File

@ -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]}
]
};

View File

@ -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]}
]
}

View File

@ -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]}
]
}

View File

@ -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]}
]
}

View File

@ -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]}
]
}

View File

@ -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]}
]
};

View File

@ -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]}
]
};

View File

@ -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]}
]
};

View File

@ -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]}
]
}

View File

@ -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]}
]
};

View File

@ -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]}
]
};

View File

@ -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]}
]
};

View File

@ -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]}
]
}

View File

@ -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]}
]
};

View File

@ -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]}
]
}

View File

@ -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(){