Plugin Directory

Changeset 567987


Ignore:
Timestamp:
07/05/2012 08:50:13 PM (14 years ago)
Author:
jazzigor
Message:

Updating trunk to v0.9.10

Location:
jazzy-forms/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • jazzy-forms/trunk/core/Graph.php

    r566668 r567987  
    112112    function get_dependencies($formula) {
    113113        $deps = array();
    114         foreach($formula as $token) {
     114        if(is_array($formula)) foreach($formula as $token) {
    115115            if($token[0] == 'v') {
    116116                $id = $token[1];
  • jazzy-forms/trunk/front/jazzy-forms.js

    r566668 r567987  
    154154                break;
    155155            case 'm':
    156                 element(id).html(value);
     156                if(value!==false) {
     157                    element(id).html(value);
     158                }
    157159                break;
    158160            case 't':
    159161            case 'h':
    160                 element(id).text(value);
     162                if(value!==false) {
     163                    element(id).text(value);
     164                }
    161165                break;
    162166        }
     
    187191        var result = '';
    188192        var chunks = graph.templates[id];
    189         for(var i=0; i<chunks.length; i++) {
    190             var chunk = chunks[i];
    191             if(typeof chunk == 'object') {
    192                 if(is_formatted_variable(chunk)) {
    193                     result += evaluate_formatted_variable(chunk);
     193        if(chunks) {
     194            for(var i=0; i<chunks.length; i++) {
     195                var chunk = chunks[i];
     196                if(typeof chunk == 'object') {
     197                    if(is_formatted_variable(chunk)) {
     198                        result += evaluate_formatted_variable(chunk);
     199                    } else {
     200                        result += evaluate_formula(chunk);
     201                    }
    194202                } else {
    195                     result += evaluate_formula(chunk);
    196                 }
    197             } else {
    198                 result += chunk;
    199             }
    200         }
    201         return result;
     203                    result += chunk;
     204                }
     205            }
     206            return result;
     207        }
     208        return false;
    202209    }
    203210   
  • jazzy-forms/trunk/jazzy-forms.php

    r567456 r567987  
    44Plugin URI: http://www.jazzyforms.com/
    55Description: Online form builder with an emphasis on calculation
    6 Version: 0.9.9
     6Version: 0.9.10
    77Author: Igor Prochazka
    88Author URI: http://www.l90r.com/
     
    2828*/
    2929
    30 define(JZZF_VERSION, 0.0909);
    31 define(JZZF_VERSION_STRING, "0.0909");
     30define(JZZF_VERSION, 0.0910);
     31define(JZZF_VERSION_STRING, "0.0910");
    3232define(JZZF_OPTION_VERSION, 'jzzf_version');
    3333
  • jazzy-forms/trunk/readme.txt

    r567456 r567987  
    55Requires at least: 3.2.1
    66Tested up to: 3.4.1
    7 Stable tag: 0.9.9
     7Stable tag: 0.9.10
    88
    99Jazzy Forms is an online form generator that performs instant calculations. It's ideal for inter-active price calculators.
     
    119119== Changelog ==
    120120
     121= 0.9.10 =
     122* Take into account text elements without placeholders (urgent fix)
     123
    121124= 0.9.9 =
    122125* Real-time templating (evaluate placeholders in text/heading/html elements)
Note: See TracChangeset for help on using the changeset viewer.