[Xsltforms-support] setindex issue
Brought to you by:
alain-couthures
From: Stephen C. <ste...@gm...> - 2012-01-06 03:25:08
|
Futher to my last email this works better XsltForms_repeat.prototype.setIndex = function(index) { if (this.index !== index) { this.index = index; if (this.index <= this.nodes.length && this.nodes[index-1] ) { XsltForms_globals.openAction(); this.element.node = this.nodes[index-1]; XsltForms_globals.addChange(this); XsltForms_globals.addChange(document.getElementById(XsltForms_browser.getMeta(this.element.node.ownerDocument.documentElement, "model")).xfElement); XsltForms_globals.closeAction(); } } }; :) |