Project

General

Profile

Actions

Bug #14300

closed

Javascript GUI control in the BE, type Files or ImageFiles, ordering item broken

Added by old_sylvain about 20 years ago. Updated over 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Backend API
Target version:
-
Start date:
2004-09-01
Due date:
% Done:

0%

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

Description

This type of GUI control available often in the BE is now broken.

When you hit the «move upward» item, they are moved to the top. Should be one item up. It's pretty difficult to order item in such list. For example in template or in image content record

(issue imported from #M332)


Files

0000332-t_file_size.png (1.73 KB) 0000332-t_file_size.png Administrator Admin, 2004-09-01 10:47
0000332-updown.tar.gz (46.9 KB) 0000332-updown.tar.gz Administrator Admin, 2004-09-17 11:39
Actions #1

Updated by Hans J about 20 years ago

This isn't new - at least since 3.5b3, isn't it?
I have changed the severity status to feature

Actions #2

Updated by old_sylvain about 20 years ago

Not new effectively, but it's worse now.

In TYPO3 3.5, it wasn't working for the first item your were trying to move, but worked well after. Now it doesn't work at all. Was tested with Communicator 4.78.

I liked the concept of this widget, and think it really useful.

I'm not agree about the «feature» severity regarding the description here:

http://bugs.typo3.org/doc/documentation.html#severity

I would left it as minor or may be «tweak», because, it should be relatively easy to fix. An old bug, should not become a feature.

Actions #3

Updated by Hans J about 20 years ago

Seeing that the image is called *totop.gif and a function which moves the item to top I am not sure if it was the original intention to just move the item one position upwards.

-> So the 'bug' might be just a misleading helptext to the button ('Move select item upwards').

I have attached a patch and the whole file class.t3lib_tceforms.php which generates two new buttons (up+down) as well as two images which should be saved int typo3/gfx/ folder.
I have also introduced two options for diasbling these fields - but please be carefull: If these buttons are not disabled you will see them all the time.
(you still have to add the helptext in typo3/sysext/langlocal/lang_core.xml - label "labels.move_up" and "labels.move_down"

hth so far. (all code for typo 3.7.0rc1 -cvs)

Actions #4

Updated by Rupert Germann over 19 years ago

this is fixed in 3.8.0dev (and beta 2.1) .

Actions

Also available in: Atom PDF