Thank you dude! Your fix resolved many issues in my web site. This post was very helpfull. Bad english? Mine is worst. kkkk
The staff will fix this code someday I hope Have a nice week! Em sexta-feira, 23 de agosto de 2013 10h01min21s UTC-3, javi68yt2 escreveu: > > Hello all > > Please, excuseme my very bad English. > > I'm using a legacy version of prototype.js (1.4.0) and I cannot upgrade > yet. > > Since I've upgraded FF to the last version (23.0 beta), my scripts fail > with above message when I issue: > > new Ajax.Updater(destiny, URL, {evalScripts: 'yes' }); > > After googling a lot, *I've fixed* : > > evalScripts: function() { > return this.extractScripts().map(eval); > }, > > like this: > > evalScripts: function() { > return this.extractScripts().map(function(script) { with(this){ return > eval(script);} }); // function(script) came from v1.5.0, the rest is > suggested by FF > }, > > > PS: > Sorry for this naive solution or if it is fixed in some other place but in > last version of prototype.js (1.7.1) still remains: > > function evalScripts() { > return this.extractScripts().map(function(script) { return > eval(script); }); > } > > Does this help someone else? > Cheerio! > -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" group. To unsubscribe from this group and stop receiving emails from it, send an email to prototype-scriptaculous+unsubscr...@googlegroups.com. To post to this group, send email to prototype-scriptaculous@googlegroups.com. Visit this group at http://groups.google.com/group/prototype-scriptaculous. For more options, visit https://groups.google.com/d/optout.