Skip to content

Commit

Permalink
* Fix: 'cancel' tries to close the portal window, but fails and redir…
Browse files Browse the repository at this point in the history
…ects to the main iTop page (which could be console) instead of staying in portal
  • Loading branch information
jbostoen committed Jan 15, 2023
1 parent df2a4f1 commit 5bd1860
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ $(function()
else
{

if(window.history.length > 1) {
if(window.history.length == 1) {

// This window doesn't seem to be a modal, yet there is no history. Try to close the window.
window.close();
Expand Down

0 comments on commit 5bd1860

Please sign in to comment.