From 7244f20baef917f1670a09af1b986b31bb336dc9 Mon Sep 17 00:00:00 2001 From: Seth Woodworth Date: Thu, 21 Mar 2013 15:08:25 -0400 Subject: [PATCH] js fixes --- karmaworld/assets/js/lightboxupload.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/karmaworld/assets/js/lightboxupload.js b/karmaworld/assets/js/lightboxupload.js index a38dd9b..58afa1e 100644 --- a/karmaworld/assets/js/lightboxupload.js +++ b/karmaworld/assets/js/lightboxupload.js @@ -12,7 +12,7 @@ $(function(){ // Bring up the file picker automatically $('input#file_upload_input').click(); // hide the add a note button - $('#add-note-btn').hide() + $('#add-note-btn').hide(); }); // Dismiss x click @@ -28,6 +28,7 @@ $(function(){ onComplete: function( id, fileName, responseJSON ) { if( responseJSON.success ) { + console.log("responseJSON.note_url " + responseJSON.note_url); // activate the form for submitting $('form#add-note').attr('action', responseJSON.note_url); // inform the user of success -- 2.25.1