comparison views/Extractapp/TaggingText.php @ 72:6974309983d1 extractapp

Bug fixed:1.remove tagging popup window on editable-area, 2.close/disable inputs and buttons, when entering edit-text mode.
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Wed, 08 Apr 2015 15:45:53 +0200
parents 359f48d58cbc
children c49192885290
comparison
equal deleted inserted replaced
71:26d8c4c43d86 72:6974309983d1
206 // TOOD: ask user to modify/decide tags 206 // TOOD: ask user to modify/decide tags
207 // showing taglist_infile and taglistArray 207 // showing taglist_infile and taglistArray
208 alert("Warning: taglist is deprecated in the current file."); 208 alert("Warning: taglist is deprecated in the current file.");
209 209
210 } 210 }
211 211
212 212
213 }); 213 });
214 214
215 $(document).on("mouseup", '#editable-area', function (e) { 215 $(document).on("mouseup", '#editable-area', function (e) {
216 216
541 541
542 function saveTextToLGService() { 542 function saveTextToLGService() {
543 // clean editable-area 543 // clean editable-area
544 $('.questionMarkClass').remove(); 544 $('.questionMarkClass').remove();
545 $('.tagItemDivClass').remove(); 545 $('.tagItemDivClass').remove();
546 546
547 // ------------- 547 // -------------
548 var info = JSON.parse('<?php echo json_encode($info) ?>'); 548 var info = JSON.parse('<?php echo json_encode($info) ?>');
549 var topic_id = JSON.parse('<?php echo json_encode($default_topic_id) ?>'); 549 var topic_id = JSON.parse('<?php echo json_encode($default_topic_id) ?>');
550 550
551 // if this is a new branch, ask for label 551 // if this is a new branch, ask for label