Tag Admin move button grayed out

Avatar

Avatar

marys389

Avatar

marys389

marys389

15-10-2015

We are upgrading from 5.5 to 5.6 and are finding that as of 5.6 the Move button is not available for any tag.  It is grayed out.  Is anyone else experiencing this or know why this might be?

Accepted Solutions (0)

Answers (2)

Answers (2)

Avatar

Avatar

marys389

Avatar

marys389

marys389

05-02-2016

Thank you for the suggestion.  We made have already made the change on March 15, 2015.

Avatar

Avatar

michal_ociepka

Avatar

michal_ociepka

michal_ociepka

05-02-2016

Hi,

Please check this request: /libs/cq/tagging/content/tagadmin.infinity.json

probably the issue is connected with bad target for move action. The incorrect target is "CQ.tagging.TagAdmin.getSingleTarget". Please change it to ""CQ.tagging.TagAdmin.getSelectedTag".

This is because of the bug in getSingleTarget function:

incorrect:

CQ.tagging.TagAdmin.getSingleTarget = function () {
    if (CQ.tagging.TagAdmin.getSelectedTags().length > 0) {
        // make sure list selection is single
        if (CQ.tagging.TagAdmin.getSelectedTags().length > 0) {  
            return null;
        } else {
            return CQ.tagging.TagAdmin.getSelectedTag();
        }
    } else {
        // no list selection, use tree
        return CQ.tagging.TagAdmin.getCurrentTreePath();
    }
};

 

correct:

if (CQ.tagging.TagAdmin.getSelectedTags().length > 0) {
        // make sure list selection is single
        if (CQ.tagging.TagAdmin.getSelectedTags().length > 1) {