changeset 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 c98a0c6d7eb4
children 3e42a63de0ea
files data/wordlist/4.txt js/taggingtext.js views/Extractapp/TaggingText.php
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/data/wordlist/4.txt	Tue Mar 17 11:22:48 2015 +0100
+++ b/data/wordlist/4.txt	Tue Mar 17 13:58:34 2015 +0100
@@ -1,1 +1,1 @@
-一<div><div>二</div><div>三</div><div>四</div><div>五</div><div>六</div><div>七</div><div>八</div><div>九</div><div>十</div></div>
\ No newline at end of file
+一test<div><div>二</div><div>三</div><div>四</div><div>五</div><div>六</div><div>七</div><div>八</div><div>九</div><div>十</div></div>
\ No newline at end of file
--- a/js/taggingtext.js	Tue Mar 17 11:22:48 2015 +0100
+++ b/js/taggingtext.js	Tue Mar 17 13:58:34 2015 +0100
@@ -787,7 +787,7 @@
     var el = document.getElementById("listNameText");
     $.ajax({
         //url : '../../models/_extractapp_func.php',
-        url : './Editwordlist',
+        url : './EditWordlist',
         async : false,
         type : 'POST',
         data : 'func=AddNewList'+'&text='+el.value,
@@ -807,7 +807,7 @@
 function saveWordlist(id ) {
     var el = document.getElementById("editable-area");
     $.ajax({
-        url : './Editwordlist',
+        url : './EditWordlist',
         async : false,
         type : 'POST',
         data : 'func=SaveWordlist'+'&text='+el.innerHTML+'&filename='+id,
--- a/views/Extractapp/TaggingText.php	Tue Mar 17 11:22:48 2015 +0100
+++ b/views/Extractapp/TaggingText.php	Tue Mar 17 13:58:34 2015 +0100
@@ -208,7 +208,7 @@
     if (_GET['id']) {
         // === This case should only be possible for developing on local machine ==== 
         var info = JSON.parse('<?php echo json_encode($info) ?>');
-        var redirectUrl = "http://localhost:1080/extraction-interface/Extractapp/TaggingText";
+        var redirectUrl = "http://localhost:1080/localgazetteers-dev/extraction-interface/Extractapp/TaggingText";
         var section_id = info['section_id'];
 
         var form = $('<form action="' + redirectUrl + '" method="post">' +