Skip to content

Commit

Permalink
Merge branch 'master' into byolken__fix_tox2
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Yolken committed Jun 1, 2017
2 parents 223f132 + 52b0716 commit 85a6d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/templates/superset/models/database/macros.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
$("#testconn").click(function(e) {
e.preventDefault();
var url = "/superset/testconn";
var csrf_token = "{{ csrf_token() }}";
var csrf_token = "{{ csrf_token() if csrf_token else '' }}";

$.ajaxSetup({
beforeSend: function(xhr, settings) {
Expand Down

0 comments on commit 85a6d38

Please sign in to comment.