now the ids assigned to files in the database will only be updated if the tag id has actually changed.
this means it's:
-faster.
-less likely to mess up your tags, since it will only touch your database when absolutely necessary.
i wonder why i didn't think of it sooner:
if the tag doesn't have to be deleted,
Code: Select all
if($tagi<16)
Code: Select all
if($tagi<16 && $tagi!=$index)
i also fixed a small inconsistency in the tag color when creating a new tag (# was missing).
are you working on it?admin wrote:Could you next time please write Undo as a script, so that I don't have to do it.
i had thought of writing me an "undo delete" script, but this would be pointless if the official undo is underway.