Plugin Directory

Changeset 1135410


Ignore:
Timestamp:
04/15/2015 11:31:23 AM (11 years ago)
Author:
latorante
Message:

Updating to version 2.6.5
-- removing pop up check for cta metabox

Location:
genoo/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • genoo/trunk/Genoo.php

    r1121144 r1135410  
    66    Author URI: http://www.genoo.com/
    77    Author Email: info@genoo.com
    8     Version: 2.6
     8    Version: 2.6.5
    99    License: GPLv2
    1010    Text Domain: genoo
  • genoo/trunk/GenooInit.php

    r1121144 r1135410  
    5252        define('GENOO_CACHE',   GENOO_ROOT . 'cache' . DIRECTORY_SEPARATOR);
    5353        define('GENOO_DEBUG',   get_option('genooDebug'));
    54         define('GENOO_REFRESH', sha1('genoo-refresh-javascript-now-please'));
     54        define('GENOO_REFRESH', sha1('genoo-refresh-javascript-without-popup'));
    5555        // start the engine last file to require, rest is auto
    5656        // custom auto loader, PSR-0 Standard
  • genoo/trunk/assets/GenooEditPost.js

    r1121144 r1135410  
    245245    // Validate
    246246    // TODO: rewrite to normal js, instead of jQuery
     247    /*
    247248    var form = jQuery("form[name='post']");
     249    var publish = jQuery(form).find("#publish");
    248250    jQuery(form).find("#publish").click(function(e){
    249251        // prevent default
    250         e.preventDefault();
     252        if(e.preventDefault){ e.preventDefault(); }
    251253        // found
    252254        var found = false;
    253255        // Do we have dynamic cta box?
    254         if(Document.elementExists('repeatable_genoo-dynamic-cta')){
     256        if(Document.elementExists('repeatable_genoo-dynamic-cta') && jQuery('#enable_cta_for_this_post_repeat').is(':checked')){
    255257            // Go throu selected options
    256258            jQuery('#repeatable_genoo-dynamic-cta select').each(function(){
     
    262264                        if(r == true){
    263265                            jQuery("#ajax-loading").show();
    264                             jQuery(form).submit();
     266                            publish.click();
    265267                        } else {
    266268                            jQuery("#publish").removeClass().addClass("button-primary");
     
    274276            if(found == false){
    275277                jQuery("#ajax-loading").show();
    276                 jQuery(form).submit();
     278                publish.click();
    277279            }
    278280        } else {
    279281            jQuery("#ajax-loading").show();
    280             jQuery(form).submit();
     282            publish.click();
    281283        }
    282284    });
     285     */
    283286});
  • genoo/trunk/readme.txt

    r1121144 r1135410  
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
    8 Stable tag: 2.6
     8Stable tag: 2.6.5
    99
    1010Combine the flexibility of WordPress with the power of Genoo and experience amazing results!
Note: See TracChangeset for help on using the changeset viewer.