[gen] Ref field bugfix.

This commit is contained in:
Gaetan Delannay 2015-02-23 15:02:19 +01:00
parent dd7e2000a1
commit bf4a781b5a
2 changed files with 5 additions and 4 deletions

View file

@ -320,7 +320,7 @@ function askBunchMove(hookId, startNumber, uid, move){
if (typeof move == 'object'){
// Get the new index from an input field
var id = move.id;
id = id.substr(0, id.length-4);
id = id.substr(0, id.length-4) + '_v';
var input = document.getElementById(id);
if (isNaN(input.value)) {
input.style.background = wrongTextInput;