[Proto-Scripty] Re: Event.stop with two observers on same object

2009-06-17 Thread steffenb
OK, I read those two points on Event#stop, but still believed Event#stop would prevent any further event processing, as the method name indicates. Maybe a clarifying line in the docs would help here, e.g. Note: further observers on the same element will be called despite Event#stop. Steffen

[Proto-Scripty] Re: Sortable onUpdate not working on IE7

2009-06-17 Thread T.J. Crowder
Hi, The updateTeamList is a function in a .js file that is used by this page. Is the script tag including that JS file *below* the script tag that contains the document.observe call? If so, move it above it. If that's not it, I'd pick up with #3 on this list:

[Proto-Scripty] Re: Problems with pollDoScroll and IE family (1.6.1 rc)

2009-06-17 Thread T.J. Crowder
Hi, When I replace pollDoScroll.defer(); with pollDoScroll.delay(0); everything works. That's weird, since xyz.defer() is functionally equivalent (with a bit more overhead) to xyz.delay(0.01). How is the process to get in tough with the Prototype devels? http://prototypejs.org/contribute

[Proto-Scripty] Re: Creating new lines and bypassing them through escapeHTML

2009-06-17 Thread T.J. Crowder
@kangax Rob: I didn't mean to step into someone's holy war here. By seems to be recommended I meant what I said earlier, used in the unit tests and such. Let's just change them to something reasonable and move on. -- T.J. On Jun 17, 7:10 am, RobG robg...@gmail.com wrote: On Jun 15, 5:48

[Proto-Scripty] Re: Event.stop with two observers on same object

2009-06-17 Thread T.J. Crowder
Maybe a clarifying line in the docs would help here, e.g. I'm with you; open a ticket on Lighthouse[1] and assign it to me? [1] https://prototype.lighthouseapp.com/projects/8886-prototype/overview -- T.J. :-) On Jun 17, 8:33 am, steffenb sbart...@tzi.de wrote: OK, I read those two points

[Proto-Scripty] Re: Creating new lines and bypassing them through escapeHTML

2009-06-17 Thread T.J. Crowder
Sorry, holy war reads a lot stronger than I meant it to. I'm just frustrated by the utter bollocks that comes out of the W3C more often than not. -- T.J. On Jun 17, 9:44 am, T.J. Crowder t...@crowdersoftware.com wrote: @kangax Rob: I didn't mean to step into someone's holy war here.  By

[Proto-Scripty] Re: Prototype and forms

2009-06-17 Thread anthony
Thanks for the cleanup. I have made those changes. Feel free to post others. The problem I have is that the form had two dynamic places: div id=territories/div and div id=adjForm/div There is an onChange that calls the javascript function getTerritories () allows the div id=territories/div to

[Proto-Scripty] Curvy Corners + draggables (script.aculo.us)

2009-06-17 Thread Rafael M Ximenes
Hi, everybody! I'm a Brazilian WebDev and I've found a script to round corners without images (Script's name is Curvy Corners: http://www.curvycorners.net/demos/). I was trying to round corners of the draggables, but they lose your functions. Some help? Regards. Rafael

[Proto-Scripty] Handle on sortable list doesn't work in IE.

2009-06-17 Thread Maya
I've assigned a handle on my sortable and it works fine in Firefox but not at all in IE. In IE you can use any of the elements in the LI to reorder the list. I would like to only be able to use the REORDER element to reorder the list. Any suggestions? div id=dragDrop ul class=sortlist

[Proto-Scripty] Need help resolving conflict between Proto and Uize frameworks

2009-06-17 Thread piers
I know it's probably a lousy idea but I have both prototype and uize referenced in the head of my document: [code] script type=text/javascript src=js/Uize.js/script script type=text/javascript src=javascript/prototype.js/ script [/code] The only time I use a prototype function in the

[Proto-Scripty] Re: Prototype and forms

2009-06-17 Thread anthony
Ok, I have found a better way to explain this. var params = $('createAdjForm').serialize(); alert(params); This does not show the form elements that were included via: div id=territories/div Why is that the case? On Jun 17, 9:06 am, anthony mrsmi...@gmail.com wrote: Thanks for the cleanup.

[Proto-Scripty] Re: Prototype and forms

2009-06-17 Thread Alex McAuley
Because the contents are from an AJAX request and they dont exist in the DOM probably . OR.. They are outside the /form tag Paste full code to a pastie and we can help - Original Message - From: anthony mrsmi...@gmail.com To: Prototype script.aculo.us

[Proto-Scripty] Re: Need help resolving conflict between Proto and Uize frameworks

2009-06-17 Thread Alex McAuley
is it run inside a dom:loaded wrapper ? - Original Message - From: piers piersplow...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Wednesday, June 17, 2009 4:14 PM Subject: [Proto-Scripty] Need help resolving conflict between Proto and Uize

[Proto-Scripty] Re: Handle on sortable list doesn't work in IE.

2009-06-17 Thread Walter Lee Davis
Sure. You have to use a className for the handles, since you presumably have more than one of them. You cannot have the same ID more than once in any given page. If you do, you get either unpredictable results or nothing, depending on how pedantic the browser or code is feeling that

[Proto-Scripty] Re: Prototype and forms

2009-06-17 Thread anthony
Here was the problem. I should have been calling the function (getAdjForm) using onComplete: function getTerritories() { var params = $('createAdjForm').serialize(); new Ajax.Updater( territories, ?= $this-url(array('controller'='index', 'action'='get-

[Proto-Scripty] Re: AJAX exception handling

2009-06-17 Thread rasmus
No harm in asking!https://prototype.lighthouseapp.com/projects/8886-prototype/overview Thank you for the reference. I found this interesting ticket on the subject: https://prototype.lighthouseapp.com/projects/8886/tickets/634-no-exception-on-error-in-oncreate-method-of-ajaxrequest Tobie

[Proto-Scripty] Re: MySQL - order ID

2009-06-17 Thread WLQ
I'm quite positive that it's something wrong with your script, because on drop (clone) this gets inserted in html: li class=clone id=span class=remove(x)/spanDescription/ li Instead of being: li class=clone id=Item_someNumberDescriptionspan class=remove (x)/span/li For some reason it creates 2

[Proto-Scripty] Re: Curvy Corners + draggables (script.aculo.us)

2009-06-17 Thread Rick Waldron
Before I take a look at your issue... I have a rewrite of CurvyCorners that i did that makes it run way faster. I was using it in a project and was annoyed by how long it took to render the corners. I can't say its any cleaner, but I corrected an unecessary loop. I've attched the rewrite to this

[Proto-Scripty] Re: Need help resolving conflict between Proto and Uize frameworks

2009-06-17 Thread Rick Waldron
Maybe I'm nuts but you're calling setMovie() in the body tag meanwhile... you have an Ajax.Request getting some data that will call... setMovie() when successful So... i suspect, that onload starts playing, then the ajax request finishes and resets your player. I dont recommend onload=''

[Proto-Scripty] Re: Prototype and forms

2009-06-17 Thread Rick Waldron
Always nice to find your own mistakes and learn from them - well done! On Wed, Jun 17, 2009 at 12:30 PM, anthony mrsmi...@gmail.com wrote: Here was the problem. I should have been calling the function (getAdjForm) using onComplete: function getTerritories() { var params =

[Proto-Scripty] Re: Prototype and forms

2009-06-17 Thread Alex McAuley
Maybe add it on onSuccess too ! just to be safe! - Original Message - From: anthony mrsmi...@gmail.com To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com Sent: Wednesday, June 17, 2009 5:30 PM Subject: [Proto-Scripty] Re: Prototype and forms Here was the problem.

[Proto-Scripty] Re: Handle on sortable list doesn't work in IE.

2009-06-17 Thread Maya
Perfect! Thank you. It works now. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype script.aculo.us group. To post to this group, send email to prototype-scriptaculous@googlegroups.com To unsubscribe from

[Proto-Scripty] Re: MySQL - order ID

2009-06-17 Thread Walter Lee Davis
We're not getting this done by pasting little bits of code back and forth. You're missing something in here, the server process that does the clone in the database has to return the new ID -- that's the only place it can come from. If you go back to my example, I had the last line of the

[Proto-Scripty] Clarification on PUT method in Ajax.Request

2009-06-17 Thread P. Douglas Reeder
The documentation on Ajax.Request, for the method option, says: method 'post' The HTTP method to use for the request. The other widespread possibility is 'get'. As a Ruby On Rails special, Prototype also reacts to other verbs (such as 'put' and 'delete' by actually using

[Proto-Scripty] Re: Sortable onUpdate not working on IE7

2009-06-17 Thread Adriano Santi
On Jun 17, 1:31 am, T.J. Crowder t...@crowdersoftware.com wrote: Is the script tag including that JS file *below* the script tag that contains the document.observe call?  If so, move it above it. It's way above. All my external .js files are called on the head of the html. First one called is