Finish Munzee integration
This commit is contained in:
parent
0347247dbe
commit
e659b0fe83
@ -15,14 +15,19 @@
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<iframe id="munzeeoauth" src="about:blank"></iframe>
|
||||
<iframe id="munzeeoauth" src="about:blank" style="background-color: white;"></iframe>
|
||||
|
||||
<script>
|
||||
setTimeout(function () {
|
||||
$('#munzeeoauth').attr('src', 'https://api.munzee.com/oauth?response_type=code&client_id='
|
||||
+ MUNZEE_CLIENT_ID
|
||||
+ '&redirect_uri='
|
||||
+ MUNZEE_REDIRECT
|
||||
+ '&scope=read');// capture_light');
|
||||
}, 1000);
|
||||
$('#munzeeoauth').attr('src', 'https://api.munzee.com/oauth?response_type=code&client_id='
|
||||
+ MUNZEE_CLIENT_ID
|
||||
+ '&redirect_uri='
|
||||
+ MUNZEE_REDIRECT
|
||||
+ '&scope=read capture_light');
|
||||
|
||||
$("#munzeeoauth").load(function () {
|
||||
alert(this.contentWindow.location);
|
||||
if (this.contentWindow.location == "about:closeme") {
|
||||
openscreen("home");
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
@ -23,11 +23,11 @@
|
||||
<div class='list-group-item' onclick='openRules()'>
|
||||
Show Rules
|
||||
</div>
|
||||
<!--<div class='list-group-item' onclick='openscreen("munzeelink")'>
|
||||
<div class='list-group-item' onclick='openscreen("munzeelink")'>
|
||||
Link with Munzee account
|
||||
<br />
|
||||
<span class="small">When you link a Munzee account, any Munzee QR codes you scan will be automatically captured in Munzee as well.</span>
|
||||
</div>-->
|
||||
</div>
|
||||
<div class='list-group-item' onclick='askLogout()'>
|
||||
Logout from app
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user