Browse Source

Fixed test when using override_url

pull/207/head
Birger J. Nordølum 7 years ago
parent
commit
dd54c16c1f
No known key found for this signature in database GPG Key ID: 1E2DC712B50089CC
  1. 5
      resources/assets/js/app.js

5
resources/assets/js/app.js

@ -121,9 +121,8 @@ $.when( $.ready ).then(function() {
e.preventDefault(); e.preventDefault();
var apiurl = $('#create input[name=url]').val(); var apiurl = $('#create input[name=url]').val();
var override_url = $('#create input[name="config[override_url]"').val();
var override_url = $('#override_url'); if(override_url.length && override_url != '') {
if(override_url.length && override_url.val() != '') {
apiurl = override_url; apiurl = override_url;
} }
var data = {}; var data = {};

Loading…
Cancel
Save