Hi,

Currently, deprecation.js has to be included right after Prototype...
thus *before* scriptaculous. So it won't play nice with protoculous.

Hence the error you are getting.

Regarding the fact that scriptaculous is using deprecated code, please
check that it is so in trunk and file a bug report (or better, a
tested patch).

Thanks!

Tobie

On Feb 13, 12:55 pm, Rauan Maemirov <[EMAIL PROTECTED]> wrote:
> When I used it with turned on deprecation.js in log appeared the
> following warn:
>
> Prototype Deprecation Warning: Position.clone has been deprecated,
> please use Element#clonePosition instead.
>
> @http://example.com/js/protoculous.packed.js:1
> @http://example.com/js/protoculous.packed.js:6
> @http://example.com/js/protoculous.packed.js:6
> @http://example.com/js/protoculous.packed.js:6
> @http://example.com/js/protoculous.packed.js:6
> @http://example.com/js/select.js:52
> @http://example.com/js/protoculous.packed.js:6
> @http://example.com/js/protoculous.packed.js:1
> @http://example.com/js/protoculous.packed.js:1
>
> and error:
>
> hash.__properties has no propertieshttp://example.com/js/deprecation.js
> Line 339
>
> In controls.js
>
> ...
>       function(element, update){
>         if(!update.style.position ||
> update.style.position=='absolute') {
>           update.style.position = 'absolute';
>           Position.clone(element, update, {
>             setHeight: false,
>             offsetTop: element.offsetHeight
>           });
>         }
> ...
>
> What I have to do? I didn't what to fix it on my own, 'cause afraid
> that smth would be broken.
>
> BTW, Autocompleter works not good when there's too much data. In IE,
> Safri and Opera div disappears when i dragging vertical-scroller. And
> I also suspect, that its' code "encourage" memory leaks on multiple
> using.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to