prototype javascript framework: prototype 1.5.1.1 bug fix release
prototype javascript framework: prototype 1.5.1.1 bug fix release
download
api docs
tips and tutorials
blog
discuss
contribute
prototype javascript framework
prototype is a javascript framework that aims to ease development of dynamic web applications.
prototype 1.5.1.1 bug fix release
by
mislav
| june 19th, 2007
prototype 1.5.1.1 is now available for download. this is a bug fix release that prevents crashes with versions 1.3 and 2.0.x of the safari browser. we urge everyone using prototype 1.5.1 to upgrade to this latest release.
previous versions of prototype could trigger bugs in safari's regular expression engine when updating elements with html containing <script> tags or when using json functionality with built-in security checks. these regular expression engine bugs affect safari versions 1.3 through 2.0.4, but not safari 3 beta or the webkit nightlies. we've managed to code around them to prevent either browser crashing while maintaining the full api, keeping the performance top-notch and assuring backwards-compatibility.
prototype 1.5.1.1 is a drop-in replacement for anyone using 1.5.1.
please upgrade now!
comments
ama3
#
is there a dev build with the element construction and writeattribute() functionality of /assets/2007/5/12/prototype-dev-6728.js that also includes these bug fixes?
thanks,
ama3
june 19th, 2007 @ 09:04 pm
andrew dupont
#
“@ama3: these fixes have been also been applied to trunk—you can checkout our source code and build your own copy. there are instructions on the download page.
june 19th, 2007 @ 09:37 pm
les
#
is the doc updated? i see a new string method isjson(), but there is no doc for it.
june 20th, 2007 @ 08:13 am
jdalton
#
les, the documentation has been added. thanx for the notification 8).
june 20th, 2007 @ 10:27 am
joshua rudd
#
it seems that .up() is now broken in ie6/7.
june 20th, 2007 @ 12:21 pm
andrew dupont
#
@joshua: works for me. make sure your element is extended (by running it through $ or element.extend) before you try to call any instance methods on it.
1.5.1.1 fixes a significant performance issue with ie — it’d call element.extend on every node in the document the first time document.getelementsbyclassname was used. so it’s possible you’re relying on that behavior in your code.
june 20th, 2007 @ 12:39 pm
les
#
is this feature in? it doesn’t work for me.
add hash.prototype.index which returns the first found property that has a specific value. closes #8528. [thomas fuchs, slusarz, mislav marohnić]
examples:
var hash = $h({a:1,b:’2’});
hash.index(1) // -> ‘a’
hash.index(‘1’) // -> undefined
june 20th, 2007 @ 03:07 pm
tobie langel
#
les: no. this is part of a future release of prototype. there hasn’t been any new features implemented in 1.5.1.1, it is a bug fix release only.
june 20th, 2007 @ 05:05 pm
x-ray
#
i encountered a problem when upgrading my code from 1.5.0 to 1.5.1(.1).
array.each( function(item) {...});
in 1.5.0 function(item) got the same scope as array.each(...), but after upgrading to 1.5.1(.1) it loses scope.
does anyone know why?
june 21st, 2007 @ 04:57 am
chu yeow
#
wow, and we were totally baffled over why safari 2 and 1 users were experiencing crashes (it’s ok in safari 3 beta). thanks for the fix!
june 21st, 2007 @ 06:10 am
tobie langel
#
x-ray: this will be best answered in the mailing list.
chu yeow: yes, these regexp bugs were baffling, unheard of and took us all by surprise. other libraries (json.js, mootools, dean edward’s base) were also affected by them.
june 21st, 2007 @ 12:28 pm
daniel elmore
#
wow, you guys are on top of your game. i don’t see safari 3 having majority for a good while, so many thanks to the prototype team.
june 24th, 2007 @ 06:23 am
soso
#
it was a surprise for me to discover the new layout change of the website of the prototype framework! i just wanted to congratulate the team for their work making a cross-browsing js framework. it made me love javascripting for real… : )
this blog and the new site makes this framework more “profesional”. keep up the good work!
june 25th, 2007 @ 10:21 am
bobjpg
#
hello all, great work: your framework is a reference…
is there a way to test an html existance using is id?
i am just using the test:
if($(‘theid’)){
// do something
}
-> and it doesn’t work…
a function “doesexist(id)” will be great? no?
june 26th, 2007 @ 08:40 am
sam
#
in ff i get “too much recursion” on line 1323 when using effect.appear out of script.aculo.us.
june 29th, 2007 @ 07:23 pm
tobie langel
#
bobjpg: $() returns undefined if the element isn’t present, so
if ($(‘theid’)) {
// do something
}
should definitely work. if you’re having issues, you’re probably doing something wrong somewhere: try posting your problem on the mailing list to get help.
sam: you must be using an outdated version of script.aculo.us. please download the latest version and all should be fine.
june 30th, 2007 @ 12:17 am
los angeles search engine optimization
#
yes, i used latest scriptaculous and that makes thing work.
thanks
june 30th, 2007 @ 03:21 am
nagib
#
thnks…
i have 2 ideas… one is element.create(); or alias $c(); its more for ie. because when you use document.createelement() you need to use $ like $(document.createelement());
...
},
create: function (tag) {
var element = $(document.createelement(tag));
return element;
},
..
like it… i dont know.
cya
july 2nd, 2007 @ 07:04 am
chris
#
when upgrading from prototype 1.5.0_rc0 and scriptaculous 1.6.2 to prototype 1.5.1.1 and scriptaculous 1.7.1_beta3 i’m now getting a hash.toquerystring is not a function error…any ideas?
july 11th, 2007 @ 12:47 am
chris danielson
#
excellent patch. one of our customers has been having issues with safari and this patch works like a charm. thank you for all your efforts!
july 11th, 2007 @ 01:27 pm
qw
#
i have a question.why almost half of the codes are blue when i open it with dreamwaver from v1.5.1?is it means they are useless?
july 12th, 2007 @ 03:56 am
dnv
#
ie. if in style.css element hidden {style:display}
$(el).show() doesn’t show element.
bug fix:
find line $(element).style.display = ’’
and replace with
$(element).style.display = ‘block’
july 12th, 2007 @ 04:54 am
tobie langel
#
nagib: we have something much better in the works: check this out!
chris: posting a comment here isn’t the best way to get helped, try our mailing list instead.
qw: dreamweaver’s parser evidently got mixed up. try opening prototype in a more trustworthy application, you’ll get nicely colored syntax!
dnv: please search trac, this issue has come up and has been discussed many times already.
chris danielson: happy to hear this release fixed your issues!
july 12th, 2007 @ 08:54 am
qw
#
thanks.
...............
there is an error when i ues “ajax.request”.
my codes:file:default.htmfunction recordposistion(x,y){
var pars=”ix=”x“iy=”+y;
var myajax=ajax.request(“record.aspx”,{method:”get”,parameters:pars,oncomplete:showres});
}//ondragend.what to get div’s posistion.
function showres(res){
alert(res.responsetext);
}flie:record.aspx.cs request.q…[“ix”];//result:got null
i can mail you full codes if it is necessary.
july 13th, 2007 @ 06:48 am
tobie langel
#
qw: please use the mailing list or irc for such issues.
july 13th, 2007 @ 09:18 am
ssj
#
i got error on ie7: operation aborted, don’t know how to fix that. tried to put defered, it helped out with operation aborted, but braked ajax.updater tu update div’s
thanks
july 19th, 2007 @ 01:51 pm
tobie langel
#
people, please use the mailing list or irc for such issues.
july 19th, 2007 @ 02:04 pm
sorry, comments are closed for this article.
search blog
search the prototype blog.
subscribe to the blog
categories
blog home
general
releases
tools
tricks
© 2006-2007 prototype core team | licenses:
mit (source code) and cc by-sa (documentation).
Acceuil
suivante
prototype javascript framework: prototype 1.5.1.1 bug fix release fix - Synonyms from Thesaurus.com script-fix -- Screenplay Database fix. The American Heritage® Dictionary of the English Language ... VBS.LoveLetter Fix - Symantec.com If It Works, Don't Fix It! Vasectomy Information Home Page Abena Frantex Abri Fix - Incontinence urinaire Nukefix, To Fix the Nuclear Weapons Problem Congress Pushes 'Band-Aid Fix' to Gas Price Woes, Analyst Says ... À propos de votre fix « Le Blogue d’Ironica Finding a Fix The new urgency to fix online privacy Perspectives CNET News.com FIX définition FIX Eye Fix Photos: Photo Restoration and Retouching A race to fix a 30-year-old 'solution' csmonitor.com We Can Fix That with Data [Profil de Fix] OverBlog - Le blog des blogs Simple "ntldr is missing" fix with boot floppy, CD-R, or USB flash Fix290 How to Fix a Scratched CD - wikiHow PINBALL: Pinball Repair Guides. Collector buys pinball, arcade ... Apple Releases Fix For iMacs That Freeze Up -- Apple ... Macrovision: Updating the Macrovision SECDRV.SYS Driver Can Architects Fix Construction’s “Busted Budgets”? News ... Opinion Fix public education Seattle Times Newspaper Tricia Fix Originals. Florida born fashion designer The Hotfix - Vista SP1, XP SP3, IE8, Home Server, and more! - Home Rob Galbraith DPI: Canon EOS-1D Mark III autofocus fix may be two ... OpenBSD 3.4 errata Berkshire Computer Repairs And Servicing - 1-Fix Computer Services The Art of Colin Fix Outlook-QuoteFix - Home Proposal to fix Pacific with 'urea' dump - Telegraph Harley-Davidson Maintenance - Do It Yourself DVDs The library fix Salon.com Angry-Fly.com: Fix for MySQL on Leopard Toilet Repair: Leaks, Tanks and Bowls Toilet Repair Fix a ... Advanced Registry Fix – Registry Repair Fix Slow Computer: spyware, trojan horse, virus removals edgeblog » Daylight Saving Time - Windows Mobile Fix Paul Fix Quotes - The Quotations Page Paroles Fix You - Coldplay - Musique Ados.fr Hex blog: Windows WMF Metafile Vulnerability HotFix Amazon.com: FLIP: How to Find, Fix, and Sell Houses for Profit ... MG LSP-Fix 1.1 Researcher releases unofficial IE fix for URI bug The Register Idées fix(e)s - Skitour [Groupe fr-comp-reseaux-ip] : Dans quel connexion mettre mon IP ... Tourism-Site-Fix Vril's Transparent PNG Fix for WordPress The Joy of Flex » Blog Archive » More on fix to Leopard file ... zieh fix フィックスレコード公式サイト fix: Definition, Synonyms and Much More from Answers.com Microsoft Watch - Server - Microsoft's Fix for the Middle Child ... The Knicks Fix Quick Fix Meals with Robin Miller - Show List A to Z - TV - Food ... Business Objects Customer Assurance - Merge Modules Fix for Borland Pascal "Runtime Error 200" bug on fast PCs The Fix Bikes - Downhill, Freeride, Dirt Jump, All Mountain ... How To Fix An Underexposed Photo PhotoshopSupport.com