File tree Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Expand file tree Collapse file tree 1 file changed +3
-14
lines changed Original file line number Diff line number Diff line change 8
8
< link rel ="stylesheet " href ="../_assets/css/jqm-demos.css ">
9
9
< script src ="../../../js/jquery.js "> </ script >
10
10
< script src ="../_assets/js/jqm-demos.js "> </ script >
11
- < script >
12
- $ ( function ( ) {
13
- $ . ajax ( "redirect.php?source" )
14
- . success ( function ( data ) {
15
- $ ( "#phpSource" ) . html ( data ) ;
16
- } )
17
- . error ( function ( ) {
18
- $ ( "#phpSource" ) . html ( "<p>Failed to retrieve PHP source</p>" ) ;
19
- } ) ;
20
- } ) ;
21
- </ script >
22
11
< script src ="../../../js/ "> </ script >
23
12
< script id ="redirectCode ">
24
13
$ ( document ) . bind ( "pagebeforechange" , function ( e , data ) {
@@ -49,11 +38,11 @@ <h1>Redirect: Source Page</h1>
49
38
< div data-role ="content ">
50
39
51
40
< div class ="content-primary ">
52
- < div data-role =" popup " class =" ui-content " data-position-to =" window " id =" phpSource " > < p > Loading PHP source ... </ p > </ div >
53
- < div data-demo-html ="true " data-demo-js ="#redirectCode ">
41
+
42
+ < div data-demo-html ="true " data-demo-js ="#redirectCode " data-demo-php =" redirect " >
54
43
< p > < a href ="redirect.php?to=redirect-target.html " data-role ="button " data-inline ="true "> Redirect</ a > </ p >
55
44
</ div > <!--/demo-html -->
56
- < p > < a href =" #phpSource " data-rel =" popup " data-role =" button " data-inline =" true " > View PHP Source </ a > </ p >
45
+
57
46
</ div > <!--/content-primary -->
58
47
59
48
</ div > <!-- /content -->
You can’t perform that action at this time.
0 commit comments