Plugin Directory

Changeset 502411


Ignore:
Timestamp:
02/08/2012 09:45:07 PM (14 years ago)
Author:
jazzigor
Message:

Updating to v0.9.3

Location:
jazzy-forms/trunk
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • jazzy-forms/trunk/back/elements.js

    r491567 r502411  
    3333                data.options[idx].counter = counter;
    3434            });
    35             if(data.type == 'checkbox') {
     35            if(data.type == 'c') {
    3636                data.checked = (data.default == "1");
    3737            }
  • jazzy-forms/trunk/back/gui.css

    r491567 r502411  
    117117}
    118118
    119 .jzzf_element_body fieldset ul li input, .jzzf_section > ul > li > input[type=text]  {
     119.jzzf_element_body fieldset ul li input[type=text], .jzzf_section > ul > li > input[type=text]  {
    120120    width: 280px;
    121121}
  • jazzy-forms/trunk/core/Graph.php

    r491567 r502411  
    77    $formulas = array();
    88    foreach($elements as $elem) {
    9         $id = $elem->name;
     9        $id = strtolower($elem->name);
    1010        $type = $elem->type;
    1111        $types[$id] = $type;
  • jazzy-forms/trunk/core/Parser.php

    r499961 r502411  
    22
    33function jzzf_parse($notation) {
    4     $tokens = jzzf_tokenize($notation);
     4    try {
     5        $tokens = jzzf_tokenize($notation);
     6    } catch( Exception $e ) {
     7        return null;
     8    }
    59    return jzzf_parse_tokens($tokens);
    610}
  • jazzy-forms/trunk/core/Tokenizer.php

    r499961 r502411  
    103103
    104104    private function error($msg) {
    105         echo $msg . ':' . $this->rest;
     105        throw(new Exception($msg . ':' . $this->rest));
    106106    }
    107107}
  • jazzy-forms/trunk/front/jazzy-forms.js

    r499961 r502411  
    1616   
    1717    function element_id(element) {
    18         var chunks = element.attr('id').split('_');
    19         return chunks[chunks.length - 1];
     18        var id = element.attr('id');
     19        return id.substr(id.indexOf('_', 5)+1);
    2020    }
    2121   
     
    220220        },
    221221        'if': function() {
    222             return arg(0) ? arg(1) : arg(2);
     222            return arg(0) ? arg(1) : arg(2, false);
    223223        },
    224224        'true': function() {
  • jazzy-forms/trunk/front/tmpl-list.php

    r499961 r502411  
    77
    88    function id($element) {
    9         echo esc_attr('jzzf_' . $this->form->id . '_' . $element->name);
     9        echo esc_attr('jzzf_' . $this->form->id . '_' . strtolower($element->name));
    1010    }
    1111
  • jazzy-forms/trunk/jazzy-forms.php

    r499961 r502411  
    44Plugin URI: http://www.jazzyforms.com/
    55Description: Online form builder
    6 Version: 0.9.2
     6Version: 0.9.3
    77Author: Igor Prochazka
    88Author URI: http://www.l90r.com/
  • jazzy-forms/trunk/readme.txt

    r499961 r502411  
    55Requires at least: 3.2.1
    66Tested up to: 3.3.1
    7 Stable tag: 0.9.2
     7Stable tag: 0.9.3
    88
    99Jazzy Forms is an online form generator that performs instant calculations. It's ideal for inter-active price calculators.
     
    104104== Changelog ==
    105105
     106= 0.9.3 =
     107* Fix on fix: properly treat uppercase and underscore character in IDs and formulas
     108* Correctly treat invalid/unexpected characters in formulas
     109* Correctly display "Checked by default" setting
     110* Third argument in IF function to be optional
     111
    106112= 0.9.2 =
    107113* Ignore uppercase/lowercase for variable and function names
Note: See TracChangeset for help on using the changeset viewer.