Skip to content

Commit

Permalink
Merge pull request #1 from christf/passff
Browse files Browse the repository at this point in the history
Allow PassFF Integration
  • Loading branch information
penguineer authored Oct 20, 2020
2 parents cc823c8 + f02d3a9 commit a34adaa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions www/aw.js
Original file line number Diff line number Diff line change
Expand Up @@ -202,13 +202,13 @@ $( document ).ready(function() {
let url = urlParam('url');
let apikey = urlParam('apikey');

$("#callparams [name='tr_uri']").val(url)
$("#callparams [name='tr_redmine']").val(url)
$("#callparams [name='tr_apikey']").val(apikey)

loadActionables(url, apikey);

$("#load").click(function(event) {
let url = $("#callparams [name='tr_uri']").val()
let url = $("#callparams [name='tr_redmine']").val()
let apikey = $("#callparams [name='tr_apikey']").val()

var newurl = '?url='+encodeURIComponent(url)+ '&apikey='+encodeURIComponent(apikey);
Expand Down
4 changes: 2 additions & 2 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ <h2>Call Parameters</h2>
<form id="callparams">
<div>
<div>
<label for="tr_uri">URI:</label>
<input type="text" name="tr_uri" />
<label for="tr_redmine">Redmine Instance URL:</label>
<input type="text" name="tr_redmine" />
</div>
<div>
<label for="tr_apikey">API Key:</label>
Expand Down

0 comments on commit a34adaa

Please sign in to comment.