Vorlage:Trello einbinden: Unterschied zwischen den Versionen

Aus Open Source Ecology - Germany
Zur Navigation springen Zur Suche springen
Zeile 8: Zeile 8:
 
var no_done='</html>{{{no_done}}}<html>';
 
var no_done='</html>{{{no_done}}}<html>';
  
var trello_url=encodeURI('https://wiki.opensourceecology.de/extensions/Trello/load_trello.php?u_sel=' + username + String.fromCharCode(38) + 'b_sel=' + board + String.fromCharCode(38) + 'c_filter=' + card + String.fromCharCode(38) + 'no_done=' + no_done);
+
var trello_url=encodeURI(document.location.protocol + '://wiki.opensourceecology.de/extensions/Trello/load_trello.php?u_sel=' + username + String.fromCharCode(38) + 'b_sel=' + board + String.fromCharCode(38) + 'c_filter=' + card + String.fromCharCode(38) + 'no_done=' + no_done);
  
 
$('#result').load(trello_url);
 
$('#result').load(trello_url);
 
</script>
 
</script>
 
</html>
 
</html>

Version vom 21. Mai 2013, 15:49 Uhr