Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Error in templates/common/editor.js

Quote Reply
Error in templates/common/editor.js
The editor.js does not build urls correctly if you are running a web server on anything other than port 80.

Fix by replacing the first line of js with this:

var port = (window.location.port == 80) ? '' : ':' + window.location.port;
var url = window.location.protocol + '//' + window.location.hostname + port + window.location.pathname + '?<%hidden_query%>';
Quote Reply
Re: [onetimeposter] Error in templates/common/editor.js In reply to
Thanks for the bug report, I've updated the local copy.

Jason Rhinelander
Gossamer Threads
jason@gossamer-threads.com