Hi, I’m new to the prototype and scriptaculous
(v1.5.1) libraries.
I’m creating a sortable list using the code below, and
I’m finding that while a list element is being dragged in IE, the element
text is transformed to appear bolder than the original. In Firefox, the text
becomes opaqu
It's not in the docs as it's not really part of the API. It converts
's to line breaks before it displays the textarea. It does not
convert back again as this is the responsibility of the server. This
seems to be the desired behaviour a lot of times, but not always.
Hence it should be configurable.
Can someone explain what *convertHTMLLineBreaks* does? I could not
find it in the docs!
Does this actually take line breaks that you type into the text area
and convert them??
Deco
On Mar 27, 2006, at 12:27 PM, Jamie Orchard-Hays wrote:
I'm curious if anyone else has a need to disable
*
Hi,
I developed my website locally with uniserver and everything was working
well. I uploaded all my stuff to my production server and suddenly,
nothing is the same... It seems that the queues are now broken and that
my effects are running at the same time. What could cause this bug??
or
> Ryan, the quotes around fooo are valid syntax.
Ahh, oops, never knew that. Thanks.
The information transmitted in this electronic mail is intended only for the
person or entity to which it is addressed and may contain confidential,
proprietary, and/or privileged material. Any review, retransm
On 3/27/06, Daniel Herrero <[EMAIL PROTECTED]> wrote:
> Now I have another cuestion related to this: I have a class with an object
> inside:
>
> var onewClass = Class.create();
> onewClass.prototype = {
> initialize : function() {
> this.variable = "fooo";
> },
> myrules : {"
thanks guys. I'll whip up a patch. In the meantime, I just rewrote
the method in my own javascript file:
//Need to override the default behavior of the InPlaceEditor to not
convert and tags
Object.extend(Ajax.InPlaceEditor.prototype, {
convertHTMLLineBreaks: function(string) {
retu
Yes, that should obviously be configurable. Submit a patch and I'm
sure you'll get it committed.
On 3/28/06, Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote:
> I'm curious if anyone else has a need to disable
> *convertHTMLLineBreaks*. I actually need to show the 's and 's
> in the editor and browsin
On 3/27/06, Jamie Orchard-Hays <[EMAIL PROTECTED]> wrote:
> I'm curious if anyone else has a need to disable
> *convertHTMLLineBreaks*. I actually need to show the 's and 's
> in the editor and browsing the source code, see that this isn't
> configurable.
>
> Jamie
ME! I just monkey patched it at
I'm curious if anyone else has a need to disable
*convertHTMLLineBreaks*. I actually need to show the 's and 's
in the editor and browsing the source code, see that this isn't
configurable.
Jamie
___
Rails-spinoffs mailing list
Rails-spinoffs@list
> var >
> onewClass.prototype = {
> initialize : function() {
> this.variable = "fooo";
> },
> myrules : {"fooo" : this.variable
> }
> };
This may have just been a typo by you, but
I think you just need to remove the quotes from the “fooo” in your
object…
var >
onewCl
Thank you Nicolas!! your soluction worked wonderfull.
Now I have another cuestion related to this: I have a class with an object inside:
var >
onewClass.prototype = {
initialize : function() {
this.variable = "fooo";
},
myrules : {"fooo" : this.variable
}
};and I intance it
12 matches
Mail list logo