Commit 2ea3cb83 authored by Mathieu Giraud's avatar Mathieu Giraud
Browse files

js/model_loader.js: conversion rule, _evalue -> evalue

parent 7b98c31e
......@@ -609,7 +609,8 @@ Model_loader.prototype = {
newSeg[key] = this.getConvertedSegNames(newSeg[key])
} else {
// We must have an object
newSeg[key] = {'val': newSeg[key]}
var wkey = (key == '_evalue') ? 'evalue' : key
newSeg[wkey] = {'val': newSeg[key]}
}
}
return newSeg;
......
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