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 b243436 commit 3e3ad68ae39ba1db958f2f8e9b667e46134d7113 @gabrielschulhof gabrielschulhof committed Nov 28, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 js/widgets/popup.js
View
@@ -727,7 +727,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 3e3ad68

Please sign in to comment.