Browse files

Adding a comment about the ext_submit button

  • Loading branch information...
1 parent 58e3a4f commit 558be8fcef5f76c289ac1a52f07f11d866f9ca75 @scriby scriby committed Oct 12, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 mod/lti/locallib.php
@@ -290,6 +290,8 @@ function lti_build_request($instance, $typeconfig, $course) {
// Add oauth_callback to be compliant with the 1.0A spec
$requestparams["oauth_callback"] = "about:blank";
+ //The submit button needs to be part of the signature as it gets posted with the form.
+ //This needs to be here to support launching without javascript.
$submittext = get_string('press_to_submit', 'lti');
$requestparams["ext_submit"] = $submittext;

0 comments on commit 558be8f

Please sign in to comment.