Skip to content
This repository was archived by the owner on Nov 3, 2021. It is now read-only.

Commit 3435f13

Browse files
committed
No popups flow
1 parent 83244c1 commit 3435f13

3 files changed

Lines changed: 2 additions & 21 deletions

File tree

‎app/templates/connected.html‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
{% extends "layout.html" %}
22
{% load static %}
33
{% block scripts %}
4-
if (window.opener) {
5-
window.opener.location.href ='/app/connected';
6-
window.close();
7-
}
84
function invoiceCall() {
95
$("#result").html('<div class="vd-loader"></div>');
106
$.get("/app/qbo_invoices", function (data) {

‎app/templates/index.html‎

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,4 @@
1-
{% extends "layout.html" %}
2-
{% load static %}
3-
{% block scripts %}
4-
if (window.opener) {
5-
window.opener.location.href ='/app/';
6-
window.close();
7-
}
8-
function launchPopup(path) {
9-
var win;
10-
var checkConnect;
11-
var parameters = "location=1,width=800,height=650";
12-
parameters += ",left=" + (screen.width - 800) / 2 + ",top=" + (screen.height - 650)/2;
13-
win = window.open(path, 'connectPopup', parameters);
14-
}
15-
{% endblock %}
16-
{% block content %}
1+
{% extends "layout.html" %} {% load static %} {% block content %}
172
<section style="padding: 60px 0">
183
<div class="container">
194
<h4>Setup</h4>
@@ -23,7 +8,7 @@ <h4>Setup</h4>
238
<section class="bg-light vhq-pt-30 vhq-pb-30">
249
<div class="container">
2510
<h4>Connect to QuickBooks Online</h4>
26-
<a class="imgLink" href="#" onclick="launchPopup('/app/oauth/')">
11+
<a class="imgLink" href="/app/oauth/">
2712
<img style="height: 40px" src="{% static 'C2QB_white_btn_lg_default.png' %}" />
2813
</a>
2914
</div>

‎db.sqlite3‎

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)