[Movecommons-commits] r490 - in trunk: src wp-theme
Mario Gallegos
mgallegos at ourproject.org
Wed Jun 6 00:00:50 CEST 2012
Author: mgallegos
Date: 2012-06-06 00:00:49 +0200 (Wed, 06 Jun 2012)
New Revision: 490
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-06-05 21:13:41 UTC (rev 489)
+++ trunk/src/mc-dia-form2.js 2012-06-05 22:00:49 UTC (rev 490)
@@ -583,6 +583,13 @@
//slide steps
$j('#first_step').slideUp();
$j('#second_step').slideDown();
+
+ /*if($j('#non-profit-website').val()=='') $j('#non-profit-website').val($j('#url').val());
+ $j('#').val($j('#url').val());
+ $j('#').val($j('#url').val());
+ $j('#').val($j('#url').val());
+ $j('#').val($j('#url').val());
+ $j('#').val($j('#url').val());*/
} else return false;
});
Modified: trunk/wp-theme/mc2-form.php
===================================================================
--- trunk/wp-theme/mc2-form.php 2012-06-05 21:13:41 UTC (rev 489)
+++ trunk/wp-theme/mc2-form.php 2012-06-05 22:00:49 UTC (rev 490)
@@ -105,7 +105,7 @@
<?php _e("We are registered as Non-profit", "mc"); ?>
</label>
<label id="infield-non-profit-website" for="non-profit-website" style="position: absolute;display: none;margin: 8px 5px 5px 50px;padding: 0;font-size: 14px;"><?php _e("Check this website: http://example.com", "mc"); ?></label>
- <input type="text" name="non-profit-website" value="" id="non-profit-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;">
+ <input type="text" name="non-profit-website" onclick="if($j('#non-profit-website').val()=='') $j('#non-profit-website').val($j('#url').val());" value="" id="non-profit-website" style="width: 330px;margin-left: 42px;margin-top: 5px;display: none;">
<label class="optional-labels-fields">
<input type="checkbox" name="open-accounting" value="S" id="open-accounting" disabled="disabled"/>
<?php _e("We have Open-accounting", "mc"); ?>
More information about the Movecommons-commits
mailing list