Skip to content

Commit

Permalink
Fixed onclick() not firing for removing panels
Browse files Browse the repository at this point in the history
  • Loading branch information
gmemstr committed Feb 27, 2017
1 parent 6786b61 commit ed0b9c3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion App.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

elif config.Get("enable_webserver") is True:
print("Webserver starting up")
scnp = Process(target=scn.Loop()).start()
# scnp = Process(target=scn.Loop()).start()
wsp = Process(target=ws.Run()).start()


Expand Down
4 changes: 4 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
appdirs==1.4.2
bcrypt==3.1.2
cffi==1.9.1
click==6.7
Expand All @@ -6,9 +7,12 @@ Flask-Login==0.4.0
itsdangerous==0.24
Jinja2==2.9.4
MarkupSafe==0.23
mysqlclient==1.3.10
numpy==1.12.0
packaging==16.8
psutil==5.0.1
pycparser==2.17
pyparsing==2.1.10
requests==2.12.5
six==1.10.0
slackclient==1.0.4
Expand Down
3 changes: 1 addition & 2 deletions src/templates/admin.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,11 @@ <h2>Edit Server List</h2>
{% for s in servers %}
<tr id="{{ s[0] }}">
<td>{{ s[1] }}</td>
<td><button onlick="Remove({{ s[0] }});">Remove</button></td>
<td><button onclick="Remove({{ s[0] }})">Remove</button></td>
</tr>
{% endfor %}
</table>
<script>
console.log("Test");
function Request(url, callback, method = "GET") {
var request = new XMLHttpRequest();
request.open(method, url);
Expand Down

0 comments on commit ed0b9c3

Please sign in to comment.