Show
Ignore:
Timestamp:
02/20/07 17:54:40 (23 months ago)
Author:
jburke
Message:

References #2366. Converting more tests to use dojo.addOnLoad()

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/0.4/tests/widget/test_PageContainer.html

    r5907 r7386  
    3333                dojo.byId("next2").disabled = page.isLastChild; 
    3434        } 
    35         dojo.event.topic.subscribe("myPageContainer-selectChild", selected); 
    36         // TODO: if someone removes the first or last page have to disable the previous/next buttons */ 
     35        dojo.addOnLoad(function(){ 
     36                dojo.event.topic.subscribe("myPageContainer-selectChild", selected); 
     37                // TODO: if someone removes the first or last page have to disable the previous/next buttons */ 
     38        }); 
    3739</script> 
    3840</head>