Project

General

Profile

Actions

Anomalie #627

closed

bug when displaying animated raw value

Added by Simon about 8 years ago. Updated about 8 years ago.

Status:
Fermé
Priority:
Normal
Assignee:
Category:
general
Target version:
Start date:
11/01/2016
Due date:
% Done:

100%

Estimated time:
1.00 h
Resolution:

Description

in dashboard/det.php file.

function animate_raw(obj) {
                var $this = obj;
                // console.log('data-value : ' + $this.attr('data-value'));
                  $({ Counter: 0 }).animate({ Counter: $this.attr('data-value') }, {
                        duration: getRandomInt(2000,4000),
                        easing: 'swing',
                        step: function () {
                           $this.text(Math.ceil(this.Counter) > $this.attr('data-value') ? number_f($this.attr('data-value')) : number_f(Math.ceil(this.Counter)));
                        }
                  });
            };

see screenshot, Should display 94299


Files

bug-raw.png (14.1 KB) bug-raw.png Simon, 11/01/2016 02:40 PM
Actions #1

Updated by Simon about 8 years ago

  • Category set to general
  • Assignee set to Simon
  • Target version set to 2.0
  • Estimated time set to 1.00 h
Actions #2

Updated by Simon about 8 years ago

  • Status changed from Nouveau to Fermé
  • % Done changed from 0 to 100

Applied in changeset linea21|r3022.

Actions

Also available in: Atom PDF