Re: [Xsltforms-support] 2 typos in xsltforms.js ?
Brought to you by:
alain-couthures
From: Ivan P. <ipo...@ma...> - 2011-04-26 11:27:51
|
Hello, Nick! Why typos? Isn't it just a comma operator (http://en.m.wikipedia.org/wiki?search=Comma+operator) that stands where it should to provide in-place initialization of document.applets["xsltforms"]?? Regards, Ivan On 25.04.2011, at 20:31, Nick Van den Bleeken <ni...@bl...> wrote: > Hi, > > Shouldn't the ',' chars on line 328 and 337 not be a '.' (after Core.loadapplet())? > > First one: > > Core.javaReadFile = function(fname, encoding, xsdtype, title) { > if (document.applets["xsltforms"] || (Core.loadapplet(),document.applets["xsltforms"])) { > return document.applets["xsltforms"].readFile(fname, encoding, xsdtype, title) || ""; > } > return ""; > }; > > Second one: > > Core.javaWriteFile = function(fname, encoding, xsdtype, title, content) { > if (document.applets["xsltforms"] || (Core.loadapplet(),document.applets["xsltforms"])) { > if (fname == "") { > fname = document.applets["xsltforms"].lastChosenFileName; > } > return document.applets["xsltforms"].writeFile(fname, encoding, xsdtype, title, content) == 1; > } > return false; > }; > > -- > Regards, > > Nick Van den Bleeken > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Xsltforms-support mailing list > Xsl...@li... > https://lists.sourceforge.net/lists/listinfo/xsltforms-support |