I'm not a heavy JavaScript guy either, but these two lines seem to me
to be the problem.
var tid=prompt('New title will become:\n\n',tt_alias+who
+when.formatString('$1'));
var tags=prompt('Write tags here(make space between words) (lesson HAS
to be one of them):\n\n',tt_alias+who+lesson);
When you include '\n' in a string, it inserts the 'newline' character
into the string, in effect, forcing what looks like carriage returns.
A simple experiment would be to remove the '\n' codes from places you
don't want multiple lines and see if that solves (or lessens) the
problem.
Alan
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/tiddlywiki?hl=en.