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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/prototype-scriptaculous.
For more options, visit https://groups.google.com/groups/opt_out.