diff --git a/wise-webapp/src/main/webapp/js/labelActions.js b/wise-webapp/src/main/webapp/js/labelActions.js index 0bed22df..2bc3c8f4 100644 --- a/wise-webapp/src/main/webapp/js/labelActions.js +++ b/wise-webapp/src/main/webapp/js/labelActions.js @@ -1,9 +1,12 @@ -function createLabelItem(data) { +function createLabelItem(data, id) { + var labelId = data.id || id; $("#foldersContainer").find("ul").append( $("
  • ").append( - " " + + " " + + "" + "
    " + "
    " + data.title + "
    " + + "" + "
    " ) )