Permalink
Browse files

[Bug 822630] [contacts] Possible CSP problems

  • Loading branch information...
1 parent ab305e9 commit 5c26753821491b051a65ab41c0f73d2f21498493 @jmcanterafonseca jmcanterafonseca committed with samjoch Dec 20, 2012
@@ -242,7 +242,7 @@ <h2 data-l10n-id="social-network" id="social-label">Social Network</h2>
<h2>#type#</h2>
<div class="item">
<div class="item-body-exp">
- <a href="javascript: void(0);" class="action action-block">
+ <a href="#" class="action action-block">
<span role="button" class="icon-address" data-l10n-id="legendAddress">Address</span>
<b>
<span>#streetAddress#</span>
@@ -13,13 +13,10 @@
<html>
<head>
<meta charset="UTF-8">
- <script src="oauth2/js/parameters.js"></script>
+ <script src="js/parameters.js"></script>
+ <script src="js/dialogs_end_init.js"></script>
</head>
<body>
- <script>
- window.opener.postMessage('closed',
- fb.oauthflow.params['contactsAppOrigin']);
- window.close();
- </script>
+ </body>
</html>
@@ -16,8 +16,6 @@
<body>
<script src="js/flow.js"></script>
<script src="js/parameters.js"></script>
- <script>
- fb.oauthflow.init();
- </script>
+ <script src="js/flow_init.js"></script>
</body>
</html>
@@ -0,0 +1,4 @@
+'use strict';
+
+window.opener.postMessage('closed', fb.oauthflow.params['contactsAppOrigin']);
+window.close();
@@ -0,0 +1,3 @@
+'use strict';
+
+fb.oauthflow.init();

0 comments on commit 5c26753

Please sign in to comment.