Merge pull request #2312 from MichelHartmann/patch-1

Fixed closing the dialog, when the page is removed.
This commit is contained in:
Ghislain Seguin 2011-08-25 08:38:44 -07:00
commit 884bfdee3b

View file

@ -250,7 +250,7 @@
// of a dialog sized custom select
if( !self.thisPage.data("page").options.domCache ){
self.thisPage.bind( "pagehide.remove", function() {
$(this).remove();
$(self).remove();
});
}