![]() |
|
Options Tab broken - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Options Tab broken (/thread-2094.html) |
Options Tab broken - codedface - 2008-01-16 Hi Everyone, Options Tab broken - sbillard - 2008-01-16 Usually this is caused by not loading the js scripts. Be sure that all the files and folders of the distribution zp-core folder have been uploaded. Options Tab broken - codedface - 2008-01-16 WOW that was fast! Thanks! Error: Options Tab broken - codedface - 2008-01-16 Looks like its throwing js errors everywhere outside of the Options Tab. "this.element has no properties" Options Tab broken - codedface - 2008-01-16 FYI - I fixed it by adding two checks in admin.js lines 293+ if (typeof Class != "undefined"){ Options Tab broken - sbillard - 2008-01-17 This looks good. But, some questions: Where are the close braces for the two lines you added? Maybe the best thing is for you to create a ticket and attach your modified admin.js file. Would you mind doing that? Options Tab broken - codedface - 2008-01-17 Yes those where the only two lines added with proper close brackets I tried creating a ticket but I did not have privileges http://www.zenphoto.org/trac/newticket Here's the whole code for FabTabs in admin.js. Hope this helps /*
if (typeof Class != "undefined"){ Fabtabs.prototype = {
} Event.observe(window,'load',function(){ new Fabtabs('tabs'); },false); Options Tab broken - sbillard - 2008-01-17 Thanks. This seems to be working. If you are interested, there is another set of js errors that need to be found and stomped out: http://www.zenphoto.org/trac/ticket/325. You need to register to be able to create tickets--we were getting too much spam in our tickets! http://www.zenphoto.org/support/topic.php?id=1320&replies=2 Options Tab broken - codedface - 2008-01-17 I registered. I'll check them out. |