app/assets/javascripts/garage/docs/console.js.coffee in the_garage-2.3.0 vs app/assets/javascripts/garage/docs/console.js.coffee in the_garage-2.3.1
- old
+ new
@@ -8,9 +8,10 @@
$(".modal-close").click (ev) ->
$.colorbox.close()
ev.preventDefault()
$("#oauth-dialog .authenticate").click (ev) ->
+ $("#oauth-dialog #return_to").val(window.location.pathname + window.location.search)
$("form#oauth-authenticate").submit()
ev.preventDefault()
$(".console .validate-token").click (ev) ->
$("#method").val('GET')