Mercurial > hg > extraction-interface
comparison develop/views/Extractapp/taggingtext.php @ 8:da10158c6d0a
add toc_correction status in books table. On TOC correction list page, providing the status checking box for users.
author | Zoe Hong <zhong@mpiwg-berlin.mpg.de> |
---|---|
date | Mon, 09 Feb 2015 12:28:09 +0100 |
parents | 63e08b98032f |
children | 584b1623e9ef |
comparison
equal
deleted
inserted
replaced
7:0e9a7c69f22c | 8:da10158c6d0a |
---|---|
204 } | 204 } |
205 //document.styleSheets[0].addRule("tag001", "color:green;") | 205 //document.styleSheets[0].addRule("tag001", "color:green;") |
206 } | 206 } |
207 | 207 |
208 | 208 |
209 function smartRegexSave() { | |
210 var x; | |
211 var name=prompt("Please enter this Regex name",RegexLoadedName); | |
212 if (name!=null){ | |
213 $.ajax({ | |
214 type : 'POST', | |
215 url : '../../models/_extractapp_func.php', | |
216 async : false, | |
217 data : 'func=SmartRegexSave'+'&text='+encodeURIComponent($('#smartRegexShowDiv').html())+'&filename='+name | |
218 }).done(function(result) { | |
219 alert("Saved!"); | |
220 }); | |
221 } | |
222 } | |
209 | 223 |
210 | 224 |
211 $(document).on("change", '#smartRegexPopUpSelectWord', function (e) { | 225 $(document).on("change", '#smartRegexPopUpSelectWord', function (e) { |
212 <?php | 226 <?php |
213 foreach ( $wordlistArray as $wordlistValue ) { | 227 foreach ( $wordlistArray as $wordlistValue ) { |