Fix VocabId

This commit is contained in:
Romain Neutron
2012-02-28 15:08:39 +01:00
parent 9ebebaa22d
commit b91fe2456f

View File

@@ -417,7 +417,7 @@ function updateCurrentMval(meta_struct_id, HighlightValue, vocabularyId)
+ (a[key].n != n ? " hetero " : "") + "'>"
+ '<table><tr><td>'
+ extra
+ '<span class="value" vocabId="' + value.getVocabularyId() + '">'
+ '<span class="value" vocabId="' + (value.getVocabularyId() ? value.getVocabularyId() : '') + '">'
+ word
+ "</span></td><td class='options'>"
+ '<a href="#" class="add_all"><img src="/skins/icons/plus11.png"/></a> '