comparison views/Extractapp/EditTaglist.php @ 103:2cc65ff46174 extractapp

minor fixed
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Mon, 25 Jul 2016 17:10:16 +0200
parents 6ba742b712b0
children e542b161d907
comparison
equal deleted inserted replaced
102:6ba742b712b0 103:2cc65ff46174
405 405
406 $(document).on("click", "[name=tdName]", function () { 406 $(document).on("click", "[name=tdName]", function () {
407 if ( $("#input"+this.id).length > 0 ) { 407 if ( $("#input"+this.id).length > 0 ) {
408 return; 408 return;
409 } 409 }
410 var topic_tag_id = JSON.parse('<?php echo json_encode($topic_tag_id) ?>'); 410 /*
411 if (this.id == "tdName"+topic_tag_id || this.id == "tdNameID") { 411 if (this.id == "tdName"+topic_tag_id || this.id == "tdNameID") {
412 return; 412 return;
413 } 413 }
414 */
415
414 //var startPageValue = this.innerHTML; 416 //var startPageValue = this.innerHTML;
415 var startPageValue = this.textContent; 417 var startPageValue = this.textContent;
416 this.innerHTML=""; 418 this.innerHTML="";
417 var newTextBox = document.createElement("input"); 419 var newTextBox = document.createElement("input");
418 newTextBox.id = "input"+this.id; 420 newTextBox.id = "input"+this.id;