js fixes
authorSeth Woodworth <seth@sethish.com>
Thu, 21 Mar 2013 19:08:25 +0000 (15:08 -0400)
committerSeth Woodworth <seth@sethish.com>
Thu, 21 Mar 2013 19:08:25 +0000 (15:08 -0400)
karmaworld/assets/js/lightboxupload.js

index a38dd9ba2415bec8c1dbdf7c44380501bec6ad65..58afa1e974b0e8b0cb0c68be92ad8bad9beb1e4b 100644 (file)
@@ -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