[pmwiki-users] Change "View changes" link when simultaneous edit occurs to Pop-up rather than new window/tab

Elizabeth Koh elizabethkoh at gmail.com
Sun Jan 11 11:05:30 CST 2009

Hi all,

I am trying to sit pmwiki within another application and I do not want it to
open up another window/tab when I click on the `view changes` link that
shows when simultaneous edit occurs.

It is possible to change the link to a pop-up?

I know I have to change this part in simuledit.php

$MessagesFmt[] = "<p class='editconflict'>$ec
    (<a target='_blank' href='\$PageUrl?action=diff'>$[View changes]</a>)

I tried
  $MessagesFmt[] = "<p class='editconflict'>$ec
    (<a href='\$PageUrl?action=diff'
return false;'>$[View changes]</a>)

But there is no pop-up and only the action=diff page appears on the same

Any ideas?

Thanks alot!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.pmichaud.com/pipermail/pmwiki-users/attachments/20090112/e76a996a/attachment.html 

More information about the pmwiki-users mailing list