Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Message from discussion RJS Errors with Safari 3.1
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
 
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


 
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.