1
Vote

Copying PageLayout Breaks Script

description

If you make a copy of the page layout used for tabbed web part zones, the script links are altered to remove the double slash the start. For example the following link:

//ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.0.min.js

Becomes:

/ajax.aspnetcdn.com/ajax/jQuery/jquery-1.11.0.min.js

Causing the script to no longer load. If you qualify the links with https/http the issue goes away.

Regards,
Tyler

comments

sharepointfan14 wrote Aug 20, 2014 at 6:53 AM

Hi - I uploaded the page layout to the master page galary which was successful but when I crated a new page using the new page layout the tabs don't work and the browser shows runtime error: "Uncaught TypeError: undefined is not a function" at the below line.
        jQuery('#TabbedWebPartZoneWrapper').wpTabify();
I have checked that jQuery-min, jQuery-ui-min and jQuery-min.css are all loaded on the page. I even downloaded the appropriate version scripts and loaded locally and tried that too but same issue.

Any help will be greatly appreciated.

Thanks