Permalink
Browse files

Popup: Return from the dialogHashKey state when the back link takes t…

…he form of a link to the page that opened the dialog.
  • Loading branch information...
1 parent 9bbe152 commit a6763f3c7c9b8359c545a927a1b2ed266f324cab @gabrielschulhof gabrielschulhof committed Nov 28, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 js/widgets/popup.js
View
@@ -720,7 +720,8 @@ define( [ "jquery",
this.options.container.unbind( this.options.closeEvents );
this._close( true );
} else {
- this._close();
+ this.close();
+ e.preventDefault();
}
return;

0 comments on commit a6763f3

Please sign in to comment.