summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-04-17 09:34:02 -0400
committerMichael <[email protected]>2017-04-17 09:34:02 -0400
commitbfdf12ddf486556fddd4238dd309eea94f7660c4 (patch)
treea6479f5b98bf2fec964bdcda391d4c8f1a0d0f68
parent79ba9ce6d341fc5c8d5ae98de855db3d857d9211 (diff)
downloadproject-unite-bfdf12ddf486556fddd4238dd309eea94f7660c4.tar.gz
project-unite-bfdf12ddf486556fddd4238dd309eea94f7660c4.tar.bz2
project-unite-bfdf12ddf486556fddd4238dd309eea94f7660c4.zip
hmmmmm
-rw-r--r--Project-Unite/Views/Admin/Index.cshtml7
1 files changed, 6 insertions, 1 deletions
diff --git a/Project-Unite/Views/Admin/Index.cshtml b/Project-Unite/Views/Admin/Index.cshtml
index e9ae83f..815a20b 100644
--- a/Project-Unite/Views/Admin/Index.cshtml
+++ b/Project-Unite/Views/Admin/Index.cshtml
@@ -5,5 +5,10 @@
<p>Wow, an actual index page.</p>
-<button class="btn btn-default" onclick="$.ajax({ url: '/API/TestNotification' });">Send test notification.</button>
+<button class="btn btn-default" onclick="sendMessageToApi();">Send test notification.</button>
+<script>
+ function sendMessageToApi() {
+ $.ajax({ url: "/API/TestNotification" });
+ }
+</script> \ No newline at end of file