My Ajax.Updater is set for evalScripts and it receives this:
complete();
It works in FF but not IE. Is the above code the proper way to return
scripts?
Thanks!
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrai
Rock on. Thanks for the info. That saves me some research time this
weekend. I'll just switch mine to use escape() instead.
Then after I get the rest of the code working with UTF-8, I'll switch
back.
Thanks,
Greg
___
Rails-spinoffs mailing list
Rails
A bit more about that from: http://dev.rubyonrails.org/ticket/2151:
Ajax.InPlaceEditor calls Form.serialize() from Prototype internally to
serialize the dynamically created form. This function uses the
JavaScript? function encodeURIComponent() to encode URI components,
which works by encoding
Gregory, UTF-8 encoding only is stated in Scriptaculous docs about
in-place editor:
http://wiki.script.aculo.us/scriptaculous/revision/Ajax.InPlaceEditor?rev=16
"Character encoding
The form data is sent encoded in UTF-8 regardless of the page encoding.
This is as of the prototype function
> Prototype uses UTF-8 encoding only. I would change your page charset
to
> UTF-8 from ISO-8859, this will definitively the best solution and once
> for ever (UTF-8, that is Unicode covers all characters on our planet!)
It's not an option for me at this point. Your server code needs to be
set up
Hi Rahul,
Prototype uses UTF-8 encoding only. I would change your page charset to
UTF-8 from ISO-8859, this will definitively the best solution and once
for ever (UTF-8, that is Unicode covers all characters on our planet!)
Best regards
JAnko
Rahul Bhargava wrote:
Hey all,
Anyone got so
I have the same problem. I’m not
entirely sure how to fix it, but I will probably be working on it this
weekend. If I figure it out, I’ll let you know.
One thought that occurs to me, that I
haven’t tried, but it might work.
Can you put a charset in the
DO!
RTFM, that's what you get from not sleeping enough :)
What I did was:
new Effect.Appear(
content_elements['content_node'],
{
queue: 'end',
duration: 2.0,
afterUpdate:
resize_content_or_editor(content_elements['content_or_edit
I searched around the wiki, didn't find any help... though I'd run it
by you guys...
In IE6, when I click to drag autocomplete results in IE, the div fades
out and is gone. I can use the scroll wheel on the mouse, and it works,
or the arrow keys.
Also, the arrow keys do not update the scro
Hey all,
Anyone got some quick advice on international character
submission via Prototype’s Form.Serialize?
The base scenario:
I set the charset on my page to ISO-8859-1, which seems to be what everyone uses. If I submit a regular form with a standard webpage, I get internationa
Hello all!
I'm having a problem which is driving me insane.
It's probably related to the fact that I'm new to javascript :)
Here's the thing, I have a couple of effects which are all being put
in the queue.
Some of these effects have callbacks; e.g. "afterFinish".
But the calback is being mad
I did not know onComplete is called with stop() operations. That was the
problem.
-Original Message-
From: Daniel Elmore [mailto:[EMAIL PROTECTED]
Sent: Friday, April 14, 2006 7:26 AM
To: 'rails-spinoffs@lists.rubyonrails.org'
Subject: Too Much Recursion
Anyone know why I'd get a JS err
Anyone know why I'd get a JS error "too much recursion" when issuing a
stop() on periodicalupdater?
Thanks
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
When I run a few PeriodicalUpdaters and look at a netstat dump on my server,
it shows 10 to 20 connections have been opened for one user (me). Are these
requests incapable of reusing open connections? I realize this is not a
proto/scripto question but I figured you guys have researched this kind of
Too fast on the trigger finger.
> evalScriptsGlobal: function() {
> return this.extractScripts().map(function(s){eval(s)}.bind(window));
> },
should rather be
evalScriptsGlobal: function() {
return this.extractScripts().map(function(s){eval.call(window, s)});
},
_
To followup to myself:
> They are defined in the context the eval is executed in. That is: as
> inner functions of the evalScripts method.
The way evalScripts is implemented in prototype: as inner functions of
the enumerator iteration.
A third solution (untested) would be
evalScriptsGlobal: f
Hi,
I'm displaying an Effect during an AJAX request,
unfortunately, during the postback, the Effect doesn't display.
Is there a solution ?
Best Regards,
--
Jean-Philippe Encausse - R&D Jalios SA
[EMAIL PROTECTED] - http://www.encausse.com
ICQ: 109796741 - AOL: NextOne - MSN: [EMAIL PROTECTED]
To add to thsi -
Merrell -
Your solution won't work in Safari as document.createElement("script"); is not
supported.
Thanks,
Mandy.
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rail
On 4/14/06, Matt Adams <[EMAIL PROTECTED]> wrote:
> onUpdate: updateOrder('page_33')
This calls updateOrder at once and assigns the result to onUpdate. ()
means "execute the function".
Use onUpdate: updateOrder.bind(this, 'page_33')
For more details search the mailing list archive for the
On 4/14/06, Will Merrell <[EMAIL PROTECTED]> wrote:
> The one problem with
> this is that any code that defines functions works only while being
> evaluated. The functions are not defined if you try to call them later.
They are defined in the context the eval is executed in. That is: as
inner fun
20 matches
Mail list logo