Changeset 2723470
- Timestamp:
- 05/13/2022 05:14:08 PM (4 years ago)
- Location:
- simple-org-chart/trunk
- Files:
-
- 3 edited
-
index.php (modified) (1 diff)
-
js/custom.js (modified) (6 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
simple-org-chart/trunk/index.php
r2471302 r2723470 2 2 /* 3 3 Plugin Name: Simple Org Chart 4 Version: 2.3. 34 Version: 2.3.4 5 5 Plugin URI: https://wordpress.org/plugins/simple-org-chart/ 6 6 Description: Build Org chart by dragging users in required order. -
simple-org-chart/trunk/js/custom.js
r2376598 r2723470 42 42 43 43 jQuery("#" + textbox_id).val(attachment.id); 44 console.log(textbox_id);44 //console.log(textbox_id); 45 45 current_element.attr("src", attachment.url).show(); 46 46 } else { … … 88 88 89 89 if (jQuery("ul#org > li > ul").length) { 90 console.log(1);90 // console.log(1); 91 91 jQuery("ul#org > li > ul").append( 92 92 '<li id="' + … … 106 106 ); 107 107 } else { 108 console.log(2);108 // console.log(2); 109 109 jQuery("ul#org > li").append( 110 110 '<ul id="2"><li id="' + … … 139 139 140 140 /*If not is removing, is conflict in jQuery.jOrgChart.js, line 227 --> Prevent trees collapsing if a link inside a node is clicked */ 141 jQuery( ".rmv-nd").on("click", function() {141 jQuery(document).on("click", ".rmv-nd", function() { 142 142 var id = jQuery(this) 143 143 .parent() … … 172 172 .children("ul") 173 173 .html(); 174 console.log(get_all_children); 175 jQuery("#org #" + id) 176 .closest("ul") 177 .append(get_all_children); 174 175 if( typeof get_all_children !== 'undefined' || get_all_children !== null ){ 176 //console.log(get_all_children); 177 jQuery("#org #" + id) 178 .closest("ul") 179 .append(get_all_children); 180 } 181 178 182 jQuery("#org #" + id).remove(); 179 183 jQuery(".jOrgChart").remove(); … … 224 228 saveArray(hierarchy); 225 229 226 console.log(hierarchy);230 // console.log(hierarchy); 227 231 } 228 232 -
simple-org-chart/trunk/readme.txt
r2673988 r2723470 2 2 Contributors: gangesh 3 3 Tags: org chart, organisation chart, org-chart, organization chart 4 Requires at least: 4. 04 Requires at least: 4.8 5 5 Tested up to: 5.9 6 6 Stable tag: trunk … … 80 80 81 81 == Changelog == 82 83 = 2.3.4 = 84 85 * Fixed multiple node bug 82 86 83 87 = 2.3.3 =
Note: See TracChangeset
for help on using the changeset viewer.