Source codefunction() {
var value = top.getSelection();
if (!value || value == "") {
value = "";
}
var url = "BASE" + "/wiki/.new-topic?name=" + encodeURIComponent(value);
var win = window.open(url);
win.focus();
}
Created: 2007-09-23 18:40:16, System Modified: 2009-07-16 07:56:14, Admin
Link,
No reifier
Usage
*Allows you to create a new topic from any web page that you are visiting in your browser.*
Select some text on the web page you are visiting. This text will become the name of the new topic. The Topincs Wiki dialog to create a new topic will open, in which you can type the topic. Only after committing this dialog, the topic is created.
Language: English Created: 2007-09-23 18:40:16, System Modified: 2009-08-26 17:23:12, Admin
Link,
No reifier
|