[Movecommons-commits] r564 - in trunk: src wp-theme
Mario Gallegos
mgallegos at ourproject.org
Thu Nov 1 17:42:08 CET 2012
Author: mgallegos
Date: 2012-11-01 17:42:07 +0100 (Thu, 01 Nov 2012)
New Revision: 564
Modified:
trunk/src/mc-dia-form2.js
trunk/wp-theme/mc2-form.php
Log:
Modified: trunk/src/mc-dia-form2.js
===================================================================
--- trunk/src/mc-dia-form2.js 2012-11-01 16:37:13 UTC (rev 563)
+++ trunk/src/mc-dia-form2.js 2012-11-01 16:42:07 UTC (rev 564)
@@ -582,7 +582,7 @@
if(!error) {
- current-step='#second_step';
+ current_step='#second_step';
//update progress bar
$j('#progress_text').html('20% Complete');
@@ -601,7 +601,7 @@
$j('#p_submit_second').click(function(){
- current-step='#first_step';
+ current_step='#first_step';
//update progress bar
$j('#progress').css('width','0');
@@ -652,7 +652,7 @@
if(error)
return;
- current-step='#third_step';
+ current_step='#third_step';
//update progress bar
$j('#progress_text').html('40% Complete');
@@ -671,7 +671,7 @@
$j('#p_submit_third').click(function(){
- current-step='#second_step';
+ current_step='#second_step';
//update progress bar
$j('#progress_text').html('20% Complete');
@@ -727,7 +727,7 @@
if(error)
return;
- current-step='#fourth_step';
+ current_step='#fourth_step';
//update progress bar
$j('#progress_text').html('60% Complete');
@@ -745,7 +745,7 @@
$j('#p_submit_fourth').click(function(){
- current-step='#third_step';
+ current_step='#third_step';
//update progress bar
$j('#progress_text').html('40% Complete');
@@ -774,7 +774,7 @@
return;
}
- current-step='#fifth_step';
+ current_step='#fifth_step';
//update progress bar
$j('#progress_text').html('80% Complete');
@@ -793,7 +793,7 @@
$j('#p_submit_fifth').click(function(){
- current-step='#fourth_step';
+ current_step='#fourth_step';
//update progress bar
$j('#progress_text').html('60% Complete');
@@ -811,7 +811,7 @@
$j('#submit_fifth').click(function(){
- current-step='#sixth_step';
+ current_step='#sixth_step';
if($j('#gr-checkbox').val()=='A'){
$j('#step5question').effect("shake", { times:3 }, 50);
@@ -838,7 +838,7 @@
$j('#p_submit_sixth').click(function(){
- current-step='#fifth_step';
+ current_step='#fifth_step';
//update progress bar
$j('#progress_text').html('80% Complete');
Modified: trunk/wp-theme/mc2-form.php
===================================================================
--- trunk/wp-theme/mc2-form.php 2012-11-01 16:37:13 UTC (rev 563)
+++ trunk/wp-theme/mc2-form.php 2012-11-01 16:42:07 UTC (rev 564)
@@ -505,7 +505,7 @@
<script type="text/javascript">
$j(document).ready(function() {
- var current-step='#first_step';
+ var current_step='#first_step';
$j('#languages').tagsInput({defaultText:'Add a language'});
$j('#keywords').tagsInput({defaultText:'Add a keyword'});
$j('#infield-donation-website').inFieldLabels();
@@ -528,7 +528,7 @@
isSelectable: false,
mapKey: 'step',
onClick: function (e) {
- //$j(current-step).slideUp();
+ //$j(current_step).slideUp();
//$j(e.key).slideDown();
if (e.key=='#first_step')
alert(e.key + ' ' + current-step);
@@ -542,7 +542,7 @@
alert(e.key + ' ' + current-step);
else if (e.key=='#sixth_step')
alert(e.key + ' ' + current-step);
- },
+ }
});
More information about the Movecommons-commits
mailing list