Signup tool is not working on iFrameless page

Description

The Signup tool is not working under current iFrameless setting on Trunk.

This is related to SAK-27774

Attachments

1

relates to

Activity

Show:

Matthew Jones March 14, 2016 at 9:32 PM

I see two fixes merged for this, and signup looks okay to me on nightly. So I'm going to mark this as resolved.

Hudson CI Server October 3, 2014 at 6:03 PM

UNSTABLE: Integrated in sakai-trunk-java-1.7 #457 (See http://builds.sakaiproject.org:8080/job/sakai-trunk-java-1.7/457/)
: - missed the processBar javascript function -Signup tool is not working on iFrameless page (guangzheng.liu@yale.edu: rev 314013)

Hudson CI Server October 2, 2014 at 6:04 PM

UNSTABLE: Integrated in sakai-trunk-java-1.7 #454 (See http://builds.sakaiproject.org:8080/job/sakai-trunk-java-1.7/454/)
: Signup tool is not working on iFrameless page (guangzheng.liu@yale.edu: rev 313995)

guangzheng.liu@yale.edu October 2, 2014 at 2:41 PM

This patch is merged into the Trunk. It is backwards compatible with IFrame.

The main issue for JSF tool moving into iFrameless is that 1) the JSF generated JavaScript will conflict with jQuery functions (name collision). We need to make sure that we introduce the jQuery.noConflict(); and change '$' sign to 'jQuery' in the customized javaScript at the tool page level. 2) Need to make sure that the initialized function in the ready blocks as following.
jQuery(document).ready(function(){
//sakai.initSignupBeginAndEndsExact();
});

3) new jQuery 1.9.x version is not compatible with 1.4.x version such as
jQuery('[id=meeting:signupBegins]').val(); //not working any more
to be replaced by:
var signBeginTag = document.getElementById('meeting:signupBegins');
jQuery(signBeginTag).val();

Here, the ':' column causes the trouble due to JSF special 'id' pattern.

guangzheng.liu@yale.edu October 2, 2014 at 2:28 PM

The fix is attached.

Fixed

Details

Priority

Affects versions

Fix versions

Components

Assignee

Reporter

Created October 2, 2014 at 2:12 PM
Updated March 14, 2016 at 9:32 PM
Resolved March 14, 2016 at 9:32 PM