Mercurial > hg > extraction-interface
diff develop/views/Extractapp/taggingtext.php @ 9:584b1623e9ef
TOC correction list page updated
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 09 Feb 2015 18:59:24 +0100 |
parents | da10158c6d0a |
children | 54a235d43694 |
line wrap: on
line diff
--- a/develop/views/Extractapp/taggingtext.php Mon Feb 09 12:28:09 2015 +0100 +++ b/develop/views/Extractapp/taggingtext.php Mon Feb 09 18:59:24 2015 +0100 @@ -5,6 +5,9 @@ $taglistArray = $viewmodel['taglistArray']; $section_id = $viewmodel['section_id']; + +var_dump($taglistArray); + ?> <html> @@ -136,6 +139,7 @@ newdiv.innerHTML += "<input id=\"RemoveTitletagName\" value=\"\"></br>"; newdiv.innerHTML += "<button onclick=\"removeTagTitle( range, container )\">Remove</button></br>"; } else { + // for pop up window on edit-area for tag list newdiv.innerHTML = "Tag: "+String(selection)+"<br>"; newdiv.innerHTML += "<button accesskey=\"2\" onclick=\"tagwithtitle( range, '"+String(selection)+"' )\">Tag As Title</button></br>"; @@ -223,6 +227,7 @@ $(document).on("change", '#smartRegexPopUpSelectWord', function (e) { + <?php foreach ( $wordlistArray as $wordlistValue ) { echo "if ( $('#smartRegexPopUpSelectWord').val() == \"".$wordlistValue[0]."\") {";