Another question
I following code of xsltforms.js
XsltForms_bind.prototype.refresh = function(ctx, index) {
if (!index) {
for (var i = 0, len = this.depsNodes.length; i < len; i++) {
XsltForms_browser.rmValueMeta(this.depsNodes[i], "depfor",
this.depsId);
}
this.clear();
}
ctx = ctx || (this.model ? this.model.getInstanceDocument() ?
this.model.getInstanceDocument().documentElement : null : null);
XsltForms_browser.copyArray(this.binding.evaluate(ctx,
this.depsNodes, this.depsId, this.depsElements), this.nodes);
var el = this.element;
for (var i2 = 0, len2 = this.nodes.length; i2 < len2; i2++) {
var node = this.nodes[i2];
var bindids = XsltForms_browser.getMeta(node, "bind");
if (!bindids) {
XsltForms_browser.setMeta(node, "bind", this.element.id);
} else {
var bindids2 = " "+bindids+" ";
if (bindids.indexOf(" "+this.element.id+" ") === -1) {
XsltForms_browser.setMeta(node, "bind", bindids+"
"+this.element.id);
}
}
...
the variable bindings2 is not use and I think the line
if (bindids.indexOf(" "+this.element.id+" ") === -1) {
should be replaced by
if (bindids2.indexOf(" "+this.element.id+" ") === -1) {
I found it some time ago I don't remember exactly what lead me here but
I remember it solves my problem in that occasion.
Regards
Isidro
------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today.
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk
_______________________________________________
Xsltforms-support mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xsltforms-support