ServerLock has a refresh on release. . .
ServerLock.processLockAttempt = function(data) {
....other code here
if(data == "acquired") {
....other code here
refreshDisplay();
story.refreshAllTiddlers();
}
I have these HTML scripts. . . (as a reference)
''<html><a href="javascript:;"
onclick="story.closeAllTiddlers();restart();">Restart</a></html>''
''<html><a
href="javascript:;"onclick="saveChanges();window.location.reload( false );">Save
& Reload</a></html>''
You might be able to experiment with replacing (or adding to)
refreshDisplay();
story.refreshAllTiddlers();
with
window.location.reload( false );
or
restart();
I haven't tried this (I am not using the plugin) and someone with more
experience may have a better suggestion. . .
(I would try it on a backup/alternate site as to not lose any
important information)
Good Luck,
Mike
On Apr 24, 3:14 pm, H.Gökhan SARI <[email protected]> wrote:
> Hello,
>
> I am trying to use ccTiddly as a collaborating tool. I've set
> ServerLock plugin to prevent users' overwriting each other's tiddlers.
> My problem is that; when two users are online, one is allowed to edit
> and one is not, when the user allowed to edit finishes editing and
> save, other user has to refresh the page to see the changes. I've seen
> a plugin-like thing [0] on tiddlytools and tried but couldn't get it
> working. Can you please help me?
>
> [0]:http://tiddlytools.com/#AutoRefresh
>
> --
> 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
> athttp://groups.google.com/group/tiddlywiki?hl=en.
--
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.