Skip to content

Conversation

@davidblader
Copy link
Contributor

https://redmine.cbrain.mcgill.ca/issues/13189
history.back() does not work here, possibly because ?? React? Rendering the LorisException using document.write() ? i'm not really sure.

i don't like this fix very much, hopefully somebody has a better idea?

@davidblader davidblader added the Category: Bug PR or issue that aims to report or fix a bug label Sep 28, 2017
@davidblader davidblader added this to the 17.2 milestone Sep 28, 2017
$upload_max_size = ini_get('upload_max_filesize');
$error_message = "Please make sure files are not larger than " .
$upload_max_size . "<br>Please refresh this page to return ".
$upload_max_size . "Please refresh this page to return ".
Copy link
Contributor Author

@davidblader davidblader Sep 28, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

html is now escaped so get rid of unsightly <br> tags

</p>
<p>
<a href="javascript:history.back(-1)">
<a href="javascript:history.back()">
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

history.back() doesn't take any arguments

@driusan driusan removed this from the 18.1 milestone Oct 2, 2017
@driusan driusan changed the base branch from 17.1-dev to bugfix October 5, 2017 17:59
@kongtiaowang kongtiaowang added the Passed manual tests PR has been successfully tested by at least one peer label Oct 6, 2017
@driusan driusan merged commit c3328cd into aces:bugfix Oct 11, 2017
@driusan driusan added this to the 18.0.1 milestone Oct 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Category: Bug PR or issue that aims to report or fix a bug Passed manual tests PR has been successfully tested by at least one peer

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants