From: Charles Holbrow Date: Thu, 21 Mar 2013 21:30:32 +0000 (-0400) Subject: hooking up close button on note upload dialog X-Git-Tag: release-20150131~475 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e2d95045a13d029e37988ee6f2c2198850490b93;p=oweals%2Fkarmaworld.git hooking up close button on note upload dialog --- 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 @@
- +