From dcd0d34e538e4c588153789b23a6402e7790e57b Mon Sep 17 00:00:00 2001 From: Charles Holbrow Date: Mon, 25 Mar 2013 20:53:19 -0400 Subject: [PATCH] save note disabled markup --- karmaworld/assets/js/lightboxupload.js | 2 ++ karmaworld/templates/partial/add_note.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/karmaworld/assets/js/lightboxupload.js b/karmaworld/assets/js/lightboxupload.js index 37ccad9..1f39837 100644 --- a/karmaworld/assets/js/lightboxupload.js +++ b/karmaworld/assets/js/lightboxupload.js @@ -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'); }); diff --git a/karmaworld/templates/partial/add_note.html b/karmaworld/templates/partial/add_note.html index 44b7ed1..d2a2fb0 100644 --- a/karmaworld/templates/partial/add_note.html +++ b/karmaworld/templates/partial/add_note.html @@ -43,7 +43,7 @@
-
+
Save
-- 2.25.1