From: Seth Woodworth Date: Thu, 21 Mar 2013 19:08:25 +0000 (-0400) Subject: js fixes X-Git-Tag: release-20150131~474^2~3 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7244f20baef917f1670a09af1b986b31bb336dc9;p=oweals%2Fkarmaworld.git js fixes --- 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