hooking up close button on note upload dialog
authorCharles Holbrow <charlesholbrow@gmail.com>
Thu, 21 Mar 2013 21:30:32 +0000 (17:30 -0400)
committerCharles Holbrow <charlesholbrow@gmail.com>
Thu, 21 Mar 2013 21:30:32 +0000 (17:30 -0400)
karmaworld/assets/css/global.css
karmaworld/assets/js/lightboxupload.js
karmaworld/templates/partial/add_note.html

index 0716e35158876a233db21cd3edcb6a91e082ce9c..cd9b271e22f8c92f27dbf9022e08d0dc7f530671 100644 (file)
@@ -766,3 +766,7 @@ legend
   margin-bottom:12px;
 }
 
+.awesome-action:hover {
+  color: #f05a28;
+  cursor: pointer;
+}
index 548a4b96e1e44f23f4f5eeec9441178cf549ca00..37775c871fb542386eb68248864374148be05b29 100644 (file)
@@ -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( {
index 202297afb39f60ac1c8f7ca5084c370793e1fee3..9dae254f034b570139cdd5ed82544720d8a187b6 100644 (file)
@@ -17,7 +17,7 @@
         <!-- the upload button gets attached here -->
       </div> 
       <div class="one columns offset-by-five end">
-        <i class="icon-remove-circle"></i>
+        <i class="icon-remove-circle awesome-action"></i>
       </div>
     </div>
     <div class="row">