Forum: Ruby on Rails DOM Popup kit error

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
D8f444b5c1b0304a2b98d5b16da0f2f1?d=identicon&s=25 Jeba Momin (zeba)
on 2009-02-11 10:16
hi,
I'm using the DOM Popup kit to display chromeless popup windows in my
application.
But I'm getting a javascript error as:

Object.extend is not a function.

at the line:

 initialize: function(popup, link) {
    var options = Object.extend({
      modal: false,
      effect: 'fade',
      hidden: true,
      closebox: 'popup_closebox',       // CSS class name of
click-to-close elements.
      draghandle: 'popup_draghandle'    // CSS class name of drag handle
elements.
    }, arguments[2] || {});

I read a solution for this that the popup.js file should be loaded at
the last.
But that didn't work..
Can anyone please suggest..how can I solve this error...
Thank You.
This topic is locked and can not be replied to.