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%>';
Subject Author Views Date
Thread Error in templates/common/editor.js onetimeposter 1617 May 8, 2002, 8:23 PM
Post Re: [onetimeposter] Error in templates/common/editor.js
Jagerman 1537 May 13, 2002, 10:43 AM