Actions
Anomalie #919
closedfix bug on PDF export with projects
Start date:
02/07/2020
Due date:
% Done:
100%
Estimated time:
2.00 h
Resolution:
Description
Updated by Simon over 4 years ago
- Subject changed from fix bug on Word / PDF export to fix bug on PDF export with projects
Updated by Simon over 4 years ago
bug to to an error of bracket in `DisplayListProjectByLevelsWithProgression()` function.
following javascript block was sent anyway when display.php was included :
<script>
$(document).ready(function() {
// $('.progressbar[title]' ).tooltip({ effect: 'slide', opacity: 0.8});
function animate_progress(object) {
var w = $(object).width() / $(object).parent().width() * 100 + '%'; // get width in percentage
$( object ).css('visibility', 'visible').css('width', '0%'); // set element visible and width to 0
$( object ).animate({width : w}, getRandomInt(2000,4000));
}
/**
* Waypoints animation - Method A
* animate when scrolled to object position
*/
var waypoints = $('div.project-progression div.pprogressbar > div').waypoint({
handler: function(direction) {
animate_progress($(this.element));
this.destroy();
},
offset: 'bottom-in-view'
});
function animate_progress(object) {
var w = $(object).width() / $(object).parent().width() * 100 + '%'; // get width in percentage
$( object ).css('visibility', 'visible').css('width', '0%'); // set element visible and width to 0
$( object ).animate({width : w}, getRandomInt(2000,4000));
}
});
</script>
Updated by Simon over 4 years ago
- Status changed from Nouveau to Fermé
- % Done changed from 0 to 100
Applied in changeset linea21|r3511.
Updated by Simon over 4 years ago
- Related to Anomalie #926: fix bug on Word export with projects added
Actions