Plugin Directory

Changeset 1295082


Ignore:
Timestamp:
11/26/2015 03:31:40 PM (10 years ago)
Author:
urre
Message:

Tagging version 1.1.7

Location:
acf-fold-flexible-content
Files:
1 edited
10 copied

Legend:

Unmodified
Added
Removed
  • acf-fold-flexible-content/tags/1.1.7/js/acf-fold-flexible.admin.js

    r1187379 r1295082  
    2929               
    3030                if(acfpro) {
    31                     $(this).nextAll('.row-layout').first().hide();
     31                    $(this).nextAll('.acf-fields').first().hide();
    3232                } else {
    3333                    $(this).nextAll('.row_layout').first().hide();
     
    104104                // Toggle open class
    105105                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');
    107112                        toggle_list.removeClass('open');
    108                     } else {
    109                         toggle_list.addClass('open');
     113                        $(this).next().next('.acf-fields').hide();
    110114                    }
    111115                } else {
  • acf-fold-flexible-content/trunk/js/acf-fold-flexible.admin.js

    r1187379 r1295082  
    2929               
    3030                if(acfpro) {
    31                     $(this).nextAll('.row-layout').first().hide();
     31                    $(this).nextAll('.acf-fields').first().hide();
    3232                } else {
    3333                    $(this).nextAll('.row_layout').first().hide();
     
    104104                // Toggle open class
    105105                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');
    107112                        toggle_list.removeClass('open');
    108                     } else {
    109                         toggle_list.addClass('open');
     113                        $(this).next().next('.acf-fields').hide();
    110114                    }
    111115                } else {
Note: See TracChangeset for help on using the changeset viewer.