From e2d95045a13d029e37988ee6f2c2198850490b93 Mon Sep 17 00:00:00 2001 From: Charles Holbrow Date: Thu, 21 Mar 2013 17:30:32 -0400 Subject: [PATCH] hooking up close button on note upload dialog --- karmaworld/assets/css/global.css | 4 ++++ karmaworld/assets/js/lightboxupload.js | 6 +++--- karmaworld/templates/partial/add_note.html | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/karmaworld/assets/css/global.css b/karmaworld/assets/css/global.css index 0716e35..cd9b271 100644 --- a/karmaworld/assets/css/global.css +++ b/karmaworld/assets/css/global.css @@ -766,3 +766,7 @@ legend margin-bottom:12px; } +.awesome-action:hover { + color: #f05a28; + cursor: pointer; +} diff --git a/karmaworld/assets/js/lightboxupload.js b/karmaworld/assets/js/lightboxupload.js index 548a4b9..37775c8 100644 --- a/karmaworld/assets/js/lightboxupload.js +++ b/karmaworld/assets/js/lightboxupload.js @@ -27,9 +27,9 @@ $(function(){ }); // Dismiss x click - // FIXME: - $(".lightbox_close").click(function() { - $(".modal_content").hide(); + $(".icon-remove-circle").click(function() { + $("#add-note-form").hide(); + $('#add-note-btn').show(); }); var uploader = new qq.FileUploader( { diff --git a/karmaworld/templates/partial/add_note.html b/karmaworld/templates/partial/add_note.html index 202297a..9dae254 100644 --- a/karmaworld/templates/partial/add_note.html +++ b/karmaworld/templates/partial/add_note.html @@ -17,7 +17,7 @@
- +
-- 2.25.1