Skip to content

Commit

Permalink
Fixed issue #14326: After activating a survey - back to survey home b…
Browse files Browse the repository at this point in the history
…utton not working
  • Loading branch information
dominikvitt committed Dec 7, 2018
1 parent 75b52f0 commit b36ccc4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion application/views/admin/survey/_activation_feedback.php
Expand Up @@ -68,6 +68,7 @@ class='btn btn-default'
<input
type='submit'
class='btn btn-default'
id='activateRedirectSurvey__selector'
value='<?php eT("Back to survey home"); ?>'
/>

Expand All @@ -82,6 +83,6 @@ class='btn btn-default'

<?php App()->getClientScript()->registerScript("ActivationFeedBackTriggers","
$('#activateTokenTable__selector--yes').on('click', function(e){ var run=function(){".$closedOnclickAction."}; run();});
$('#activateTokenTable__selector--no').on('click', function(e){ var run=function(){".$noOnclickAction."}; run();});
$('#activateTokenTable__selector--no, #activateRedirectSurvey__selector').on('click', function(e){ var run=function(){".$noOnclickAction."}; run();});
",LSYii_ClientScript::POS_POSTSCRIPT);
?>

0 comments on commit b36ccc4

Please sign in to comment.