Export 0.1.45
[framework/web/web-ui-fw.git] / libs / js / jquery-mobile-1.1.0 / tests / unit / navigation / navigation_dialog_pushstate.js
1 (function($) {
2         asyncTest( "dialog ui-state should be part of the hash", function(){
3                 $.testHelper.sequence([
4                         function() {
5                                 // open the test page
6                                 $.mobile.activePage.find( "a" ).click();
7                         },
8
9                         function() {
10                                 // verify that the hash contains the dialogHashKey
11                                 ok( location.hash.search($.mobile.dialogHashKey) >= 0 );
12                                 start();
13                         }
14                 ]);
15         });
16 })(jQuery);