6af09e7c20d0bae3bf682ec0048501f22d76f607
[framework/web/web-ui-fw.git] / libs / js / jquery-mobile-1.1.0 / tests / unit / listview / listview_pushstate.js
1 (function($) {
2         asyncTest( "nested pages hash key is always in the hash on default page with no id (replaceState) ", function(){
3                 $.testHelper.pageSequence([
4                         function(){
5                                 // Click on the link of the third li element
6                                 $('.ui-page-active li:eq(2) a:eq(0)').click();
7                         },
8
9                         function(){
10                                 ok( location.hash.search($.mobile.subPageUrlKey) >= 0 );
11                                 start();
12                         }
13                 ]);
14         });
15 })(jQuery);