Mercurial > hg > extraction-interface
comparison views/Extractapp/TaggingText.php @ 49:b2c1fae5cf6a extractapp
move/remove develop folder
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Tue, 17 Mar 2015 13:58:34 +0100 |
parents | 886f43b26ee2 |
children | 840cdb52f476 |
comparison
equal
deleted
inserted
replaced
48:c98a0c6d7eb4 | 49:b2c1fae5cf6a |
---|---|
206 // --- handle old version taglist --- | 206 // --- handle old version taglist --- |
207 var _GET = JSON.parse('<?php echo json_encode($_GET) ?>'); | 207 var _GET = JSON.parse('<?php echo json_encode($_GET) ?>'); |
208 if (_GET['id']) { | 208 if (_GET['id']) { |
209 // === This case should only be possible for developing on local machine ==== | 209 // === This case should only be possible for developing on local machine ==== |
210 var info = JSON.parse('<?php echo json_encode($info) ?>'); | 210 var info = JSON.parse('<?php echo json_encode($info) ?>'); |
211 var redirectUrl = "http://localhost:1080/extraction-interface/Extractapp/TaggingText"; | 211 var redirectUrl = "http://localhost:1080/localgazetteers-dev/extraction-interface/Extractapp/TaggingText"; |
212 var section_id = info['section_id']; | 212 var section_id = info['section_id']; |
213 | 213 |
214 var form = $('<form action="' + redirectUrl + '" method="post">' + | 214 var form = $('<form action="' + redirectUrl + '" method="post">' + |
215 '<input type="hidden" name="sectionId" value="'+section_id+'" />' + | 215 '<input type="hidden" name="sectionId" value="'+section_id+'" />' + |
216 '</form>'); | 216 '</form>'); |