[Proto-Scripty] Re: emptyFunction() calls take up to 30% of execution time

2009-01-04 Thread Niko
I think this will solve itself. If I understood the announcements on Squirrelfish correctly, they are trying to inline small calls. So that a call to emptyFunction would become a noop. On 24 Dez. 2008, 21:35, npepinpe wrote: > The Prototype.emptyFunction is just a dummy function; it doesn't >

[Proto-Scripty] Sortable tree

2009-01-04 Thread Niko
check if level 3 got created (could happen( and would smoothe it back to level 2. could someone give me a hand, please? regards, niko --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & script.acu

[Proto-Scripty] Re: Sortable tree

2009-01-06 Thread Niko
javascript. Niko On Jan 5, 12:43 pm, "Niko Schwarz" wrote: > Ok, I think I know what went wrong. The drag-and-drop magic works only if > the child-uls have a padding-bottom. Maybe the javascript should check if > the padding is alright and make sure it does not go under a certain m

[Proto-Scripty] Re: Sortable tree

2009-01-05 Thread Niko Schwarz
this wrong: the seaside scriptaculous example does not allow drags to empty children, either. Niko 2009/1/3 Niko > > Ok, I am really not the biggest JS guru on the planet. Consider me a > newbie on SU and javascript. > > So, alright, here is the big plan: I have my small to do li

[Proto-Scripty] how can i turn on the inplaceeditor from javascript?

2009-01-06 Thread Niko Schwarz
So, I am adding a inplaceeditor to a node. how do i find the editor, so i can turn the in place editing mode on? the method is called enterEditMode(), I think, but what to call it on? cheers, niko --~--~-~--~~~---~--~~ You received this message because you are

[Proto-Scripty] ajax prompt

2009-01-06 Thread Niko Schwarz
Oh, and another thing I would like to do would be to ajax-prompt. In Seaside, it might look something like this onClick: html prompter question: 'under which name should i save this?' ; callback: [:v | Transcript show: v] cheers, niko --~--~-~--~~~---~--

[Proto-Scripty] Re: how can i turn on the inplaceeditor from javascript?

2009-01-07 Thread Niko Schwarz
'node','url_on_server.php',opts); > > And now when you click on a#foo, the editor will open. > > Walter > > On Jan 6, 2009, at 5:45 AM, Niko Schwarz wrote: > > > So, I am adding a inplaceeditor to a node. how do i find the editor, &g

[Proto-Scripty] funny thing to notice about the in place editor.

2009-01-08 Thread Niko Schwarz
label: [ self renderCheckBoxOn: html. self renderDescriptionOn: html id: id. ] self renderModifiersOn: html id: id. And isn't this fun? My solution is: labels are overrated anyway. Niko --~--~-~--~~~---~--~~ You received this message because yo