Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
RJS Errors with Safari 3.1
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 28 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Jose Fernandez  
View profile  
 More options Mar 20 2008, 9:39 pm
From: Jose Fernandez <fernandez.joser...@gmail.com>
Date: Thu, 20 Mar 2008 18:39:45 -0700 (PDT)
Local: Thurs, Mar 20 2008 9:39 pm
Subject: RJS Errors with Safari 3.1
Since I updated to the latest version of Safari (3.1) this week I'm
getting RJS Erros when trying to update a record.  This does NOT
happen in Firefox 2.0.0.12 (Latest version thats not beta 3).  I'm
linking screenshots of the two parts of the error messages:

1. http://img207.imageshack.us/my.php?image=picture1jv0.png

2. http://img141.imageshack.us/my.php?image=picture2em3.png

PS.  Pretty sure it due to the latest update in Safari, because
another project already in production using ActiveScaffold which I
havent touched in a while is now showing those errors too.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jose Fernandez  
View profile  
 More options Mar 20 2008, 9:43 pm
From: Jose Fernandez <fernandez.joser...@gmail.com>
Date: Thu, 20 Mar 2008 18:43:37 -0700 (PDT)
Local: Thurs, Mar 20 2008 9:43 pm
Subject: Re: RJS Errors with Safari 3.1
This is also happening when creating new records.  The RJS error
message only pops up when running the application in localhost.
Otherwise in production it only sits there doing nothing after you
click update/create

On Mar 20, 8:39 pm, Jose Fernandez <fernandez.joser...@gmail.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ash  
View profile  
 More options Mar 22 2008, 10:43 am
From: ash <ashc...@gmail.com>
Date: Sat, 22 Mar 2008 07:43:14 -0700 (PDT)
Local: Sat, Mar 22 2008 10:43 am
Subject: Re: RJS Errors with Safari 3.1
Does happen in Firefox 3 Beta 4.

On Mar 21, 9:43 am, Jose Fernandez <fernandez.joser...@gmail.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AkitaOnRails  
View profile  
 More options Mar 24 2008, 12:02 pm
From: AkitaOnRails <fabioak...@gmail.com>
Date: Mon, 24 Mar 2008 09:02:35 -0700 (PDT)
Local: Mon, Mar 24 2008 12:02 pm
Subject: Re: RJS Errors with Safari 3.1
I can confirm this behavior on my Safari 3.1 as well. It's pretty sure
there is something new in 3.1 that accounts for that, but I am not
sure yet.

On Mar 22, 11:43 am, ash <ashc...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AkitaOnRails  
View profile  
 More options Mar 24 2008, 12:19 pm
From: AkitaOnRails <fabioak...@gmail.com>
Date: Mon, 24 Mar 2008 09:19:42 -0700 (PDT)
Local: Mon, Mar 24 2008 12:19 pm
Subject: Re: RJS Errors with Safari 3.1
Ok, I think I isolated the error. It's in the frontend folder, the
create.rjs (the default one, if you didn't change it) at line 13:

page << "$$(#{cancel_selector}).first().link.close();"

For some reason $$(#{cancel_selector}).first().link is returning
'undefined', so calling close() on it yields the error.

On Mar 24, 1:02 pm, AkitaOnRails <fabioak...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Richardson  
View profile  
 More options Mar 24 2008, 8:13 pm
From: David Richardson <david.richard...@channel200.net>
Date: Mon, 24 Mar 2008 17:13:45 -0700 (PDT)
Local: Mon, Mar 24 2008 8:13 pm
Subject: Re: RJS Errors with Safari 3.1
I'm having a tough time seeing whats going on with '.link'. Anyone
else?
It's a problem in update.rjs too. Are 'cancel' links used anywhere
else?

This is somewhat important. Safari 3.1 is out and Firefox 3 is weeks
away.

david


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
AkitaOnRails  
View profile  
(2 users)  More options Mar 25 2008, 9:53 am
From: AkitaOnRails <fabioak...@gmail.com>
Date: Tue, 25 Mar 2008 06:53:43 -0700 (PDT)
Local: Tues, Mar 25 2008 9:53 am
Subject: Re: RJS Errors with Safari 3.1
Ok, I figured out the problem.

On active_scaffold.js (make sure you're looking at the copy on your
public/javascript folder), around line #266 there is this code:

this.adapter.getElementsByClassName('cancel').each(function(elem) {

The guys at caboose (http://blog.caboo.se/articles/2008/3/21/
safari-3-1-breaks-your-app) figured out that both Safari and Firefox
implements a new getElementsByClassName() function that breaks
compatibility. The solution (there are variants) is this:

    this.adapter.select('.cancel').each(function(elem) {

In this case I am replacing with Prototype's select() mechanism. This
worked for me on Safari 3.1.

On Mar 24, 9:13 pm, David Richardson <david.richard...@channel200.net>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Richardson  
View profile  
 More options Mar 25 2008, 10:42 am
From: David Richardson <david.richard...@channel200.net>
Date: Tue, 25 Mar 2008 07:42:38 -0700 (PDT)
Local: Tues, Mar 25 2008 10:42 am
Subject: Re: RJS Errors with Safari 3.1
Great :-)

'getElementsByClassName' is deprecated - 'select' seems like the best
replacement.


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jose Fernandez  
View profile  
 More options Mar 26 2008, 11:30 am
From: Jose Fernandez <fernandez.joser...@gmail.com>
Date: Wed, 26 Mar 2008 08:30:16 -0700 (PDT)
Local: Wed, Mar 26 2008 11:30 am
Subject: Re: RJS Errors with Safari 3.1
That fixed it for now, thanks!

On Mar 25, 9:42 am, David Richardson <david.richard...@channel200.net>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
JWP  
View profile  
 More options Mar 29 2008, 4:40 pm
From: JWP <rodne...@gmail.com>
Date: Sat, 29 Mar 2008 13:40:33 -0700 (PDT)
Local: Sat, Mar 29 2008 4:40 pm
Subject: Re: RJS Errors with Safari 3.1
Thanks for this fix. I would note that anybody who cuts and pastes
this should add a right parenthical after (elem} and before the right
bracket.

On Mar 25, 8:53 am, AkitaOnRails <fabioak...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Gabriele Tassoni  
View profile  
 More options Apr 3 2008, 8:41 am
From: Gabriele Tassoni <gabriele.tass...@gmail.com>
Date: Thu, 3 Apr 2008 05:41:59 -0700 (PDT)
Local: Thurs, Apr 3 2008 8:41 am
Subject: Re: RJS Errors with Safari 3.1
Seems not to fix the issue to me... I can't understand why, but
changing the js file at line 266 in public/javascript , made no
difference at all... hmmm! Caching problem, I'll look at it!

On 29 Mar, 22:40, JWP <rodne...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
broox  
View profile  
 More options Apr 8 2008, 5:47 pm
From: broox <derek.br...@gmail.com>
Date: Tue, 8 Apr 2008 14:47:01 -0700 (PDT)
Local: Tues, Apr 8 2008 5:47 pm
Subject: Re: RJS Errors with Safari 3.1
You rule.  Good find.

On Mar 25, 8:53 am, AkitaOnRails <fabioak...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MZBPhotoartlist@gmail.com  
View profile  
 More options Apr 18 2008, 4:26 pm
From: "MZBPhotoartl...@gmail.com" <MZBPh...@gmail.com>
Date: Fri, 18 Apr 2008 13:26:09 -0700 (PDT)
Local: Fri, Apr 18 2008 4:26 pm
Subject: Re: RJS Errors with Safari 3.1
Why hasn't the trunk been updated yet. It's been a month and I'm
getting irritated fixing this problem for each app. Do we need to
submit a bug report to the project leaders?

On Apr 8, 5:47 pm, broox <derek.br...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jose Fernandez  
View profile  
 More options Apr 18 2008, 4:31 pm
From: Jose Fernandez <fernandez.joser...@gmail.com>
Date: Fri, 18 Apr 2008 15:31:59 -0500
Local: Fri, Apr 18 2008 4:31 pm
Subject: Re: RJS Errors with Safari 3.1
http://github.com/edwinmoss/activescaffold/tree/master

Should be fixed here (i think).  Otherwise you can fork the rep and  
make your own fixed copy, thats what im about to do now.

Jose

On Apr 18, 2008, at 3:26 PM, MZBPhotoartl...@gmail.com wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jose Fernandez  
View profile  
 More options Apr 18 2008, 7:50 pm
From: Jose Fernandez <fernandez.joser...@gmail.com>
Date: Fri, 18 Apr 2008 16:50:06 -0700 (PDT)
Local: Fri, Apr 18 2008 7:50 pm
Subject: Re: RJS Errors with Safari 3.1
http://github.com/jfernandez/activescaffold/tree/master

my fork with the fix, already sent a pull request

On Apr 18, 3:31 pm, Jose Fernandez <fernandez.joser...@gmail.com>
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sonar  
View profile  
 More options Apr 20 2008, 1:49 pm
From: Sonar <serp...@gmail.com>
Date: Sun, 20 Apr 2008 10:49:40 -0700 (PDT)
Local: Sun, Apr 20 2008 1:49 pm
Subject: Re: RJS Errors with Safari 3.1

RJS error (the same as described above or a new one, reappeared in
Safari 3.1.1)


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Herman  
View profile  
 More options Apr 21 2008, 12:47 am
From: David Herman <dst...@purpleasphalt.com>
Date: Sun, 20 Apr 2008 21:47:42 -0700 (PDT)
Local: Mon, Apr 21 2008 12:47 am
Subject: Re: RJS Errors with Safari 3.1
I'm also getting this in FF 3b5

On Apr 20, 1:49 pm, Sonar <serp...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
chetanm  
View profile  
 More options Apr 21 2008, 7:23 am
From: chetanm <den1...@gmail.com>
Date: Mon, 21 Apr 2008 04:23:25 -0700 (PDT)
Local: Mon, Apr 21 2008 7:23 am
Subject: Re: RJS Errors with Safari 3.1
yes !! even I get RJS errors in FF3b5 and Safari3.1

On Apr 21, 9:47 am, David Herman <dst...@purpleasphalt.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
goodwill  
View profile  
 More options May 9 2008, 11:45 am
From: goodwill <william.yeung...@gmail.com>
Date: Fri, 9 May 2008 08:45:39 -0700 (PDT)
Local: Fri, May 9 2008 11:45 am
Subject: Re: RJS Errors with Safari 3.1
Second to this. It doesnt work on Safari 3.1, even changing row 266 to
select doesnt work. It fixed the problem on failed create (with
validation failure) but fails again on a successful create! Help.....

On Apr 21, 7:23 pm, chetanm <den1...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
goodwill  
View profile  
 More options May 10 2008, 9:40 am
From: goodwill <william.yeung...@gmail.com>
Date: Sat, 10 May 2008 06:40:33 -0700 (PDT)
Local: Sat, May 10 2008 9:40 am
Subject: Re: RJS Errors with Safari 3.1
I want to know if there is anyone have clues on how to fix this?
Otherwise I am just not comfortable to use active_scaffold for now...

On May 9, 11:45 pm, goodwill <william.yeung...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
S  
View profile  
 More options May 10 2008, 3:05 pm
From: S <webi...@gmail.com>
Date: Sat, 10 May 2008 15:05:47 -0400
Local: Sat, May 10 2008 3:05 pm
Subject: Re: RJS Errors with Safari 3.1
The latest version from github fixes this error.

On May 10, 2008, at 9:40 AM, goodwill <william.yeung...@gmail.com>  
wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
goodwill  
View profile  
 More options May 10 2008, 11:29 pm
From: goodwill <william.yeung...@gmail.com>
Date: Sat, 10 May 2008 20:29:04 -0700 (PDT)
Local: Sat, May 10 2008 11:29 pm
Subject: Re: RJS Errors with Safari 3.1
oh really, can be installed via script/plugin?

On May 11, 3:05 am, S <webi...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
goodwill  
View profile  
 More options May 10 2008, 11:36 pm
From: goodwill <william.yeung...@gmail.com>
Date: Sat, 10 May 2008 20:36:34 -0700 (PDT)
Local: Sat, May 10 2008 11:36 pm
Subject: Re: RJS Errors with Safari 3.1
I should say I am completely new on git- how could I install the
plugin from there? if I just download the gz file, is there any method
to install that directly via the download without creating my own svn
store?

On May 11, 11:29 am, goodwill <william.yeung...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
William Yeung  
View profile  
 More options May 11 2008, 12:05 am
From: William Yeung <william.yeung...@gmail.com>
Date: Sun, 11 May 2008 12:05:47 +0800
Local: Sun, May 11 2008 12:05 am
Subject: Re: RJS Errors with Safari 3.1
No I know what you are talking about, that doesnt fix the issue. I  
have added comments on the issue in google code:

http://code.google.com/p/activescaffold/issues/detail?id=553&q=RJS

my comment is william.yeung.hk

On 11 May 2008, at 11:55 AM, S wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Radosław Bułat  
View profile  
 More options May 13 2008, 9:56 am
From: "Radosław Bułat" <radek.bu...@gmail.com>
Date: Tue, 13 May 2008 15:56:15 +0200
Local: Tues, May 13 2008 9:56 am
Subject: Re: RJS Errors with Safari 3.1
I can confirm this issue. I've tried two earlier mentioned AS versions
from github and also change manually javascript files but no success.
$$("#admin__admins-update-2-form a.cancel").first().link return
undefined value. I wonder if .link is attribute introduced by "pure"
javascript, prototype or just active scaffold js? I found one place
where value is set to .link attribute. It's in function
register_cancel_hooks:

  register_cancel_hooks: function() {
    // anything in the insert with a class of cancel gets the closer
method, and a reference to this object for good measure
    var self = this;
    this.adapter.select('.cancel').each(function(elem) {
      elem.observe('click', this.close_handler.bind(this));
      elem.link = self;
    }.bind(this))
  },

It looks like .link is some helper attribute used only by AS but isn't
properly set. Can anyone fix it please?

--
Radosław Bułat

http://radarek.jogger.pl - mój blog


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 28   Newer >
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google