From 20b1c8045480ad2f31d1df6bb1f57f22ec013c93 Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 16 Jun 2015 23:23:02 -0500 Subject: [PATCH] Fixed tooltip - still cleaning up /users --- static/js/app/users.js | 3 +- templates/users.html | 78 +++++++++++++++--------------------------- 2 files changed, 30 insertions(+), 51 deletions(-) diff --git a/static/js/app/users.js b/static/js/app/users.js index 925654bf..26f32171 100644 --- a/static/js/app/users.js +++ b/static/js/app/users.js @@ -1,6 +1,6 @@ // Save attempts to POST to /campaigns/ function save(){ - var targets = {} + var targets = [{}] var group = { name: $("#name").val(), targets: targets @@ -46,4 +46,5 @@ function load(){ $(document).ready(function(){ load() + $("#fileUpload").hover(function(){$("#fileUpload").tooltip('toggle')}) }) diff --git a/templates/users.html b/templates/users.html index 8d55fd4b..455a309e 100644 --- a/templates/users.html +++ b/templates/users.html @@ -27,7 +27,7 @@
- +
 
@@ -85,57 +85,35 @@