Mercurial > hg > extraction-interface
diff views/Extractapp/TaggingText.php @ 102:6ba742b712b0 extractapp
new: use cookie in browser to trigger auto refresh page in LGServices
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Wed, 25 May 2016 11:29:28 +0200 |
parents | a264460c77ca |
children | 2cc65ff46174 |
line wrap: on
line diff
--- a/views/Extractapp/TaggingText.php Wed May 04 15:22:11 2016 +0200 +++ b/views/Extractapp/TaggingText.php Wed May 25 11:29:28 2016 +0200 @@ -1069,6 +1069,10 @@ _postForContineTagging(form); + // set Cookies to triger LGService to reload for the up-to-date version + var value = 1; + document.cookie = "saveTextToLGService=" + value + "; path=/LGServices/pages"; + console.log("complete saving to LGService"); }