Page 1 of 1

[FIX] ZM 1.24.2: Unarchive button in events list page

Posted: Fri Jan 29, 2010 6:58 pm
by mastertheknife
How to reproduce:
1) Archive an event
2) Go to the events page (e.g. click on one of columns in console page)
3) Mark that event and click unarchive. The event will remain archived.
NOTE: Unarchive from the event page works, but not from events list page.

In file skins/classic/views/js/events.js, edit line 138 (May vary from installation to installation)
Change it from:

Code: Select all

function unArchiveEvents( element, name )
To:

Code: Select all

function unarchiveEvents( element, name )

Firefox and the firebug extension can be really useful for finding such bugs :)
mastertheknife.

unarchive

Posted: Tue Feb 01, 2011 6:47 am
by jeramiah1945
This was exactly what I was looking for. Thanks!

Re: [FIX] ZM 1.24.2: Unarchive button in events list page

Posted: Wed Mar 23, 2011 4:57 am
by redxiii
after editing the line 138 in events.js and opening the archived events lists window again, it was still using the old events.js. closing and re-opening the events list didn't help. i had to open the events list and then reload that window in order for the new events.js to be downloaded.

Re: [FIX] ZM 1.24.2: Unarchive button in events list page

Posted: Tue Apr 19, 2011 6:55 am
by steffan
Thanks man !. works like it should now ! :)