Merge branch 'test' into release
Showing
2 changed files
with
15 additions
and
1 deletions
@@ -18,4 +18,11 @@ seajs.use("index"); | @@ -18,4 +18,11 @@ seajs.use("index"); | ||
18 | <script type="text/javascript"> | 18 | <script type="text/javascript"> |
19 | seajs.use("index"); | 19 | seajs.use("index"); |
20 | </script> | 20 | </script> |
21 | -{{/ prodEnvironment}} | ||
21 | +{{/ prodEnvironment}} | ||
22 | +<script> | ||
23 | +window.updateState = function() { | ||
24 | + seajs.use("js/channel/detail", function(detail) { | ||
25 | + detail.updateLogin(); | ||
26 | + }); | ||
27 | +}; | ||
28 | +</script> |
@@ -19,3 +19,10 @@ seajs.use("index"); | @@ -19,3 +19,10 @@ seajs.use("index"); | ||
19 | seajs.use("index"); | 19 | seajs.use("index"); |
20 | </script> | 20 | </script> |
21 | {{/ prodEnvironment}} | 21 | {{/ prodEnvironment}} |
22 | +<script> | ||
23 | +window.updateState = function() { | ||
24 | + seajs.use("js/channel/detail", function(detail) { | ||
25 | + detail.updateLogin(); | ||
26 | + }); | ||
27 | +}; | ||
28 | +</script> |
-
Please register or login to post a comment