reddit-moderator-toolbox-legacy icon indicating copy to clipboard operation
reddit-moderator-toolbox-legacy copied to clipboard

Allow resorting of removal reasons, macros and shortcuts.

Open creesch opened this issue 10 years ago • 4 comments

All of them are objects and we simply use the order in which things are put into that object.

Basically something as far as UI goes like this https://jqueryui.com/sortable/ But then of course having effect on the object itself.

I am not entirely sure what would be the most easy way to do so but I'll get on that.

creesch avatar Oct 23 '15 08:10 creesch

Just realized reasons are actually an array within the object, possibly making it all easier.

creesch avatar Oct 23 '15 08:10 creesch

Actually, they are objects within an array. :p

agentlame avatar Oct 23 '15 20:10 agentlame

Well actually it is a object which contains an array which contains the removal reason objects :P

In any case it is the array that needs sorting.

creesch avatar Oct 23 '15 20:10 creesch

You're very clever, young man, but it's no use -- it's turtles all the way down.

agentlame avatar Oct 23 '15 20:10 agentlame