diff options
| author | Michael <[email protected]> | 2017-04-17 09:34:02 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-04-17 09:34:02 -0400 |
| commit | bfdf12ddf486556fddd4238dd309eea94f7660c4 (patch) | |
| tree | a6479f5b98bf2fec964bdcda391d4c8f1a0d0f68 /Project-Unite/Views/Admin | |
| parent | 79ba9ce6d341fc5c8d5ae98de855db3d857d9211 (diff) | |
| download | project-unite-bfdf12ddf486556fddd4238dd309eea94f7660c4.tar.gz project-unite-bfdf12ddf486556fddd4238dd309eea94f7660c4.tar.bz2 project-unite-bfdf12ddf486556fddd4238dd309eea94f7660c4.zip | |
hmmmmm
Diffstat (limited to 'Project-Unite/Views/Admin')
| -rw-r--r-- | Project-Unite/Views/Admin/Index.cshtml | 7 |
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 |
