Gitlab CSE Unil

Commit d1cd3e6b authored by M. Chardon's avatar M. Chardon
Browse files

correction bug enregistrement niveau de confiance CIMAF

parent adae04de
......@@ -1624,7 +1624,7 @@ function($, _, Signal, paper, config, view, io, tools, attributes, Users, export
elem.on('change', pDef.onChange);
} else {
var elemBtn = elem.find(".btn-cat");
if (elemBtn) {
if (elemBtn && elemBtn.length > 0) {
elem.find(".btn-cat").on('change', null, {pName: pName}, onPropertyChange);
}else{
elem.on('change', null, {pName: pName}, onPropertyChange);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment