Changeset 1525 for trunk/gregarius/ajax.php
- Timestamp:
- 08/06/06 13:23:04 (2 years ago)
- Files:
-
- 1 modified
-
trunk/gregarius/ajax.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/gregarius/ajax.php
r1493 r1525 196 196 197 197 function submit_tag_cb(ret) { 198 data= ret.replace(/[^a-zA-Z0-9\ _\.,]/gi,"").split(','); 198 data= ret.split(','); 199 //replace(/[^a-zA-Z0-9\ _\.,]/gi,"") 199 200 id=data[0]; 200 201 tags=data[1]; … … 218 219 // the tag container 219 220 var tc=document.getElementById("t"+id); 220 var tags = tc.innerHTML.replace(/<\/?a[^>]*>(\ $)?/gi,"").replace(<?php echo ALLOWED_TAGS_REGEXP ?>gi,""); 221 var tags = tc.innerHTML.replace(/<\/?a[^>]*>(\ $)?/gi,""); 222 //.replace(<?php echo ALLOWED_TAGS_REGEXP ?>gi,""); 221 223 // submit link 222 224 toggle.innerHTML="<?php echo LBL_TAG_SUBMIT ?>";
