Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<html>
<head>
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery.ui.all.css" rel="stylesheet" type="text/css" /> 
<script src="http://code.jquery.com/jquery-1.8.1.min.js"></script>
    
<script src="http://code.jquery.com/ui/1.9.0-rc.1/jquery-ui.min.js" type="text/javascript"></script>
  
</head>
<body>
    <div></div>
</body>
<script type="text/javascript">
$("<div>Close this dialog to reproduce the bug!</div>").dialog({
      autoOpen: true,
      modal: true,
      hide: {effect: "fade", duration: 150}, //if you comment this row, the "close" event will be triggered
      close: function () {alert("dialog:close"); //this will not be triggered if previous row is not commented
      }
});
</script>
</html>
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
sparkybgpro
0viewers