Project

General

Profile

Actions

Bug #35314

closed

Slider wizard renders incorrectly in inactive tabs

Added by Arjen Hoekema over 12 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
FormEngine aka TCEforms
Target version:
-
Start date:
2012-03-28
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.6
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

The slider wizard does not detect its width correctly when it is placed in a inactive tab in the backend. This is related to: http://www.sencha.com/forum/showthread.php?104038

Possible fix would be to override the "getRatio" in "TYPO3.Components.TcaValueSlider" which calculates the position of the handle:

getRatio : function() {
var w = this.innerEl.getWidth() || parseInt(this.innerEl.dom.style.width, 10) || this.width,
v = this.maxValue - this.minValue;
return v == 0 ? w : (w/v);
}

Actions

Also available in: Atom PDF