Modified dahuapp.editor.json.js

Bug correction about a list index.