changed to just call dialog close method

This commit is contained in:
scottjehl 2011-03-26 15:01:25 -04:00
parent e8cee23744
commit b950f1c319

View file

@ -13,7 +13,7 @@
setTimeout(function(){
ok(/&ui-state=dialog/.test(location.hash), "ui-state=dialog =~ location.hash");
// close the dialog
$(".ui-dialog .ui-icon-delete").parents("a").click();
$(".ui-dialog").dialog("close");
}, 500);
setTimeout(function(){