Forum: Ruby on Rails DOM Popup kit error

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jeba M. (Guest)
on 2009-02-11 11:16
I'm using the DOM Popup kit to display chromeless popup windows in my
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
    }, 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 can I solve this error...
Thank You.
This topic is locked and can not be replied to.