save note disabled markup
authorCharles Holbrow <charlesholbrow@gmail.com>
Tue, 26 Mar 2013 00:53:19 +0000 (20:53 -0400)
committerCharles Holbrow <charlesholbrow@gmail.com>
Tue, 26 Mar 2013 00:53:19 +0000 (20:53 -0400)
karmaworld/assets/js/lightboxupload.js
karmaworld/templates/partial/add_note.html

index 37ccad983171166d8d033f9aa8ff6600fee775ad..1f398374349edc54d3591f45caed781cc7186e54 100644 (file)
@@ -22,6 +22,8 @@ $(function(){
     $('input#file_upload_input').click();
     // hide the add a note button
     $('#add-note-btn').hide();
+    // disable the save button -- it will be enabled when the upload is complete
+    $('#save-btn').addClass('disabled');
   });
 
 
index 44b7ed115b9b0129813ae6b67745e2d95ac78a03..d2a2fb01bbe956857286f37dad2e08468c403044 100644 (file)
@@ -43,7 +43,7 @@
 
     <div class="row">
       <div class="three columns centered">
-        <div id="save-btn">
+        <div id="save-btn" class="disabled">
           <i class=icon-save></i> Save
         </div>
       </div>