Fix export txt/csv (le tableau doit être visible)
This commit is contained in:
parent
0a24ec04bd
commit
2d1bffa0a3
1 changed files with 2 additions and 0 deletions
|
@ -917,6 +917,7 @@ $(function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
$('#export-txt').click(function() {
|
$('#export-txt').click(function() {
|
||||||
|
$('.nav-tabs a[href="#scrumblr"]').tab('show');
|
||||||
socket.json.send({
|
socket.json.send({
|
||||||
action: 'exportTxt',
|
action: 'exportTxt',
|
||||||
data: ($('.col').length !== 0) ? $('.col').css('width').replace('px', '') : null
|
data: ($('.col').length !== 0) ? $('.col').css('width').replace('px', '') : null
|
||||||
|
@ -924,6 +925,7 @@ $(function() {
|
||||||
})
|
})
|
||||||
|
|
||||||
$('#export-csv').click(function() {
|
$('#export-csv').click(function() {
|
||||||
|
$('.nav-tabs a[href="#scrumblr"]').tab('show');
|
||||||
socket.json.send({
|
socket.json.send({
|
||||||
action: 'exportCsv',
|
action: 'exportCsv',
|
||||||
data: ($('.col').length !== 0) ? $('.col').css('width').replace('px', '') : null
|
data: ($('.col').length !== 0) ? $('.col').css('width').replace('px', '') : null
|
||||||
|
|
Loading…
Add table
Reference in a new issue