Changeset 1295082
- Timestamp:
- 11/26/2015 03:31:40 PM (10 years ago)
- Location:
- acf-fold-flexible-content
- Files:
-
- 1 edited
- 10 copied
-
tags/1.1.7 (copied) (copied from acf-fold-flexible-content/trunk)
-
tags/1.1.7/acf-fold-flexible.php (copied) (copied from acf-fold-flexible-content/trunk/acf-fold-flexible.php)
-
tags/1.1.7/css (copied) (copied from acf-fold-flexible-content/trunk/css)
-
tags/1.1.7/css/acf-fold-flexible.admin.css (copied) (copied from acf-fold-flexible-content/trunk/css/acf-fold-flexible.admin.css)
-
tags/1.1.7/js (copied) (copied from acf-fold-flexible-content/trunk/js)
-
tags/1.1.7/js/acf-fold-flexible.admin.js (copied) (copied from acf-fold-flexible-content/trunk/js/acf-fold-flexible.admin.js) (2 diffs)
-
tags/1.1.7/js/acf-fold-flexible.tooltip.js (copied) (copied from acf-fold-flexible-content/trunk/js/acf-fold-flexible.tooltip.js)
-
tags/1.1.7/readme.md (copied) (copied from acf-fold-flexible-content/trunk/readme.md)
-
tags/1.1.7/readme.txt (copied) (copied from acf-fold-flexible-content/trunk/readme.txt)
-
tags/1.1.7/screenshot-1.png (copied) (copied from acf-fold-flexible-content/trunk/screenshot-1.png)
-
trunk/js/acf-fold-flexible.admin.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
acf-fold-flexible-content/tags/1.1.7/js/acf-fold-flexible.admin.js
r1187379 r1295082 29 29 30 30 if(acfpro) { 31 $(this).nextAll('. row-layout').first().hide();31 $(this).nextAll('.acf-fields').first().hide(); 32 32 } else { 33 33 $(this).nextAll('.row_layout').first().hide(); … … 104 104 // Toggle open class 105 105 if(acfpro) { 106 if($(this).next().next('.row-layout').css("display") == "none") { 106 if($(this).next().next('.acf-fields').css("display") == "none") { 107 console.log('has display none'); 108 toggle_list.addClass('open'); 109 $(this).next().next('.acf-fields').show(); 110 } else { 111 console.log('has NOT display none'); 107 112 toggle_list.removeClass('open'); 108 } else { 109 toggle_list.addClass('open'); 113 $(this).next().next('.acf-fields').hide(); 110 114 } 111 115 } else { -
acf-fold-flexible-content/trunk/js/acf-fold-flexible.admin.js
r1187379 r1295082 29 29 30 30 if(acfpro) { 31 $(this).nextAll('. row-layout').first().hide();31 $(this).nextAll('.acf-fields').first().hide(); 32 32 } else { 33 33 $(this).nextAll('.row_layout').first().hide(); … … 104 104 // Toggle open class 105 105 if(acfpro) { 106 if($(this).next().next('.row-layout').css("display") == "none") { 106 if($(this).next().next('.acf-fields').css("display") == "none") { 107 console.log('has display none'); 108 toggle_list.addClass('open'); 109 $(this).next().next('.acf-fields').show(); 110 } else { 111 console.log('has NOT display none'); 107 112 toggle_list.removeClass('open'); 108 } else { 109 toggle_list.addClass('open'); 113 $(this).next().next('.acf-fields').hide(); 110 114 } 111 115 } else {
Note: See TracChangeset
for help on using the changeset viewer.