JS error when using Project Tasks list in a webpart
I have placed a project tasks list in a webpart on my default page. Anytime I click the list and then click "List" tab in the ribbon I get a js error and all options are grayed out. I get the following js error: Message: 'projectTaskButtonAppName' is undefined Line: 1302 Char: 9 Code: 0 URI: http://sptest/_layouts/sp.ribbon.debug.js?rev=lc6eCMZP6gL5LnuSYh0S6Q%3D%3D I've been searching for several hours and it doesn't seem anyone else has reported the issue. Note: The list works fine on the AllItems.aspx list page, but not on the default. any ideas?
July 6th, 2011 10:56am

I solved the problem by adding a try catch to the JS that was breaking. I made the following change to SP.Ribbon.debug.js: Line 1302- try{ return !eval($v_0.HiddenScript); } catch(e){ return true; } Now the ribbon buttons are at least usable. I think I'll have to make this same change in SP.ribbon.js . Perhaps this is due to me not having MS Project installed on my box. Anyway hope this helps some other poor soul as well.
Free Windows Admin Tool Kit Click here and download it now
July 6th, 2011 12:07pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics