# Trouble with JS in admin-land

**URL:** <https://www.ruby-forum.com/t/trouble-with-js-in-admin-land/119344>\
**Category:** Radiant CMS\
**Created:** [November 6, 2007, 9:29am UTC](https://www.ruby-forum.com/t/trouble-with-js-in-admin-land/119344 "2007-11-06T09:29:19Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mohits](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bbe5ce/32.png) [@mohits](https://www.ruby-forum.com/u/mohits)\
**Post date:** [November 6, 2007, 9:29am UTC](https://www.ruby-forum.com/t/trouble-with-js-in-admin-land/119344/1 "2007-11-06T09:29:19Z")

</div>

Hi Everyone,

I did a few things - froze Radiant edge (so it now says that it’s  
powered by Radiant 0.6.3) and also installed a few extension -  
copy/move, Page Attachments and Search.

Now, I have run into 2 problems that seem to be JS-related:

1. The page tree in the admin area doesn’t remember its expanded status.
2. When I try to add a page part, it pops up a box to enter the name and  
then when I click on create, it takes me to a page:  
[http://example.com/admin/ui/pages/part/add](http://example.com/admin/ui/pages/part/add) and shows me a partial UI for  
entering the text for the body part. The Filter dropdown, the  
references (Filter | Available Tags) and a narrow (abt 2 lines high)  
text area.

I seem to recollect reading in the mailing list that there are some  
Javascript issues with some of the extensions. Any idea how I can fix  
it?

Thanks,  
Mohit.  
11/6/2007 | 4:27 PM.

---

<div class="post-metadata">

**Author:** ![mohits](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bbe5ce/32.png) [@mohits](https://www.ruby-forum.com/u/mohits)\
**Post date:** [November 6, 2007, 10:59am UTC](https://www.ruby-forum.com/t/trouble-with-js-in-admin-land/119344/2 "2007-11-06T10:59:58Z")

</div>

On 11/6/07, Mohit S. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> Hi Everyone,
> 
> I did a few things - froze Radiant edge (so it now says that it’s  
> powered by Radiant 0.6.3) and also installed a few extension -  
> copy/move, Page Attachments and Search.

I’ve just realized that the copy\_move archive it’s not up to  
date…are you using the archive or you get it with darcs? Try to  
download the archive now and let me know:

[http://darcs.bigchieflabs.com/radiant/extensions/copy\_move/copy\_move.tar.gz](http://darcs.bigchieflabs.com/radiant/extensions/copy_move/copy_move.tar.gz)

-Andrea

---

<div class="post-metadata">

**Author:** ![mohits](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bbe5ce/32.png) [@mohits](https://www.ruby-forum.com/u/mohits)\
**Post date:** [November 6, 2007, 11:03am UTC](https://www.ruby-forum.com/t/trouble-with-js-in-admin-land/119344/3 "2007-11-06T11:03:31Z")

</div>

Andrea F. wrote:

> date…are you using the archive or you get it with darcs? Try to  
> download the archive now and let me know:
> 
> [http://darcs.bigchieflabs.com/radiant/extensions/copy\_move/copy\_move.tar.gz](http://darcs.bigchieflabs.com/radiant/extensions/copy_move/copy_move.tar.gz)
> 
> -Andrea

Hi Andrea

Thanks for the quick reply. I’m using the archive. I shall try the one  
you just sent me and try again. It may be a while, though, before I can  
reply (though I hope it won’t be).

Best Regards  
Mohit.

---

<div class="post-metadata">

**Author:** ![mohits](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bbe5ce/32.png) [@mohits](https://www.ruby-forum.com/u/mohits)\
**Post date:** [November 7, 2007, 7:56am UTC](https://www.ruby-forum.com/t/trouble-with-js-in-admin-land/119344/4 "2007-11-07T07:56:06Z")

</div>

Andrea F. wrote:

> remove temporarily copy\_move and repeat the same thing?

Thanks for all the help, Andrea. It seems that one problem (admin tree)  
was related to copy\_move which got fixed by your suggestion and new  
archive.

As for the other problem (adding tabs), it seems that the problem may  
have been Revision 573 of Radiant. On my server, I did a  
radiant:freeze:edge and it froze to Rev 573. Just now, to try it again,  
I did a freeze:edge on my local computer (it was working off the gem  
unlike my server where I can’t install gems and Radiant is on 0.6.1) and  
it seemed to work.

So, I logged on to the server again and did a freeze:edge, this time  
getting Rev 575. That works fine. I’m not sure if I accidentally  
missed a step earlier or if something changed between 573 and 575, or if  
freezing edge with extensions already in place made the difference…

But it works for now!

Thanks again,  
Mohit.

---

<div class="post-metadata">

**Author:** ![mohits](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/bbe5ce/32.png) [@mohits](https://www.ruby-forum.com/u/mohits)\
**Post date:** [November 6, 2007, 1:52pm UTC](https://www.ruby-forum.com/t/trouble-with-js-in-admin-land/119344/5 "2007-11-06T13:52:20Z")

</div>

Andrea F. wrote:

> date…are you using the archive or you get it with darcs? Try to  
> download the archive now and let me know:
> 
> [http://darcs.bigchieflabs.com/radiant/extensions/copy\_move/copy\_move.tar.gz](http://darcs.bigchieflabs.com/radiant/extensions/copy_move/copy_move.tar.gz)
> 
> -Andrea

HI Andrea

Thanks for your email. The new archive for copy\_move fixes the issue  
with collapsing the tree in the admin area.

The other issue is still there!

1. When I try to add a page part, it pops up a box to enter the name and  
then when I click on create, it takes me to a page:  
[http://example.com/admin/ui/pages/part/add](http://example.com/admin/ui/pages/part/add) and shows me a partial UI for  
entering the text for the body part. The Filter dropdown, the  
references (Filter | Available Tags) and a narrow (abt 2 lines high)

Any ideas anyone?

Thanks,  
Mohit.

text area.
