initial function call added, fix

This commit is contained in:
Alexander Kryklia
2013-01-11 16:13:16 +02:00
parent fc09bbd0b4
commit d3045b36ab
2 changed files with 2 additions and 0 deletions

View File

@@ -123,6 +123,7 @@ define('ElOutput', ['logme'], function (logme) {
el.html(func.apply(window, state.getAllParameterValues()));
} else {
el = null;
func.apply(window, state.getAllParameterValues());
}
state.addDynamicEl(el, func, obj['@el_id'], updateOnEvent);

View File

@@ -239,6 +239,7 @@ define('State', ['logme'], function (logme) {
for (c1 = 0; c1 < dynamicEl.length; c1++) {
if (dynamicEl[c1].el === null) {
dynamicEl[c1].func.apply(window, allParameterValues);
continue;
}
if (