Skip to content
Snippets Groups Projects
Commit 0a1d23d4 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

var definition moved

parent 8ac15451
No related branches found
No related tags found
1 merge request!191Unit test refactor
......@@ -273,9 +273,9 @@ ChooseValidatorsDialog.prototype.createElementTree = function (configuration) {
}
};
var i;
var i, type;
for (i = 0; i < elementTypes.length; i++) {
var type = elementTypes[i];
type = elementTypes[i];
var name = type.className;
if (name.indexOf(".") > 0) {
name = name.substr(name.lastIndexOf(".") + 1);
......@@ -288,7 +288,7 @@ ChooseValidatorsDialog.prototype.createElementTree = function (configuration) {
}
for (i = 0; i < reactionTypes.length; i++) {
var type = reactionTypes[i];
type = reactionTypes[i];
treeNodes[type.className] = {
text: type.name,
data: type,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment