diff interface/tagging_text.php @ 6:63e08b98032f

rewrite extraction interface into PHP MVC architecture. (Although js hasn't been rewritten into MVC, it's fitted into the current PHP MVC architecture.) - The root of the new PHP MVC is at 'develop/'. - extraction interface is called "Extractapp" with several action, eg TaggingText, EditWordlist, EditTaglist, ExportTable.
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Thu, 05 Feb 2015 16:07:53 +0100
parents b12c99b7c3f0
children
line wrap: on
line diff
--- a/interface/tagging_text.php	Fri Jan 30 10:17:44 2015 +0100
+++ b/interface/tagging_text.php	Thu Feb 05 16:07:53 2015 +0100
@@ -278,16 +278,21 @@
 	echo "});\n";
 }
 ?>
+
+
+
+
 $(document).on("click", "name", function (e) {
 	if ( $("#editTextId").html() != "Edit the text" ) return 0;
 	if ( $(this).prop("tagName").toLowerCase() != "name" ) return 0;
 	removeTagNewDiv( e, "name", $(this) );
+    
 });
 
 $(document).on("mouseup", '#editable-area', function (e) {
 	$('.questionMarkClass').remove();
 	$('.tagItemDivClass').remove();
-	
+
 	if ( $("#editTextId").html() != "Edit the text" ) return 0;
 	var selection = getSelected();
 	range = getSelected().getRangeAt(0);
@@ -1049,6 +1054,7 @@
 }
 
 $(document).on("change", '#smartRegexPopUpSelectWord', function (e) {
+
 <?php
 	foreach ( $wordlistArray as $wordlistValue ) {
 		echo "if ( $('#smartRegexPopUpSelectWord').val() == \"".$wordlistValue[0]."\") {";