Details
-
Type:
Bug
-
Status: Done/Fixed
-
Priority:
Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 3.0.2, 3.1
-
Component/s: CiviCRM Profile
-
Labels:None
Description
1. The Profile HTML Snippet (civicrm/admin/uf/group?action=profile&gid=1) form code is missing the script and css references needed for jQuery widgets. It's also missing the jQuery.noConflict() statement.
This means that commonly used jQuery field widgets (like Country -> State) are broken.
Basically I think we need to include common/jquery.tpl output in the form snippet. (But check if there's some we should leave out ??)
2. I noticed that the 3.1 version of common/jquery.tpl still has the jscript and css stuff for the old calendar. I "think" this should be removed (and the scripts removed from the distribution) - unless we're still using the old date-picker / calendar somewhere in 3.1 ??
NOTE: Ajax-driven fields (ones that load content dynamically from the server) will probably NOT function if the snippet code is pasted into a web page hosted on a different domain from the CiviCRM site. This is due to security restrictions against cross-domain script execution and is not "fixable" as far as we know. I've added a warning about this to the inline help.