Compare commits

..

No commits in common. "d71d3818ad6a93d024b90ab85cdf8ccacd48563c" and "1385f0049f61c5af8af6de0e5dfc007912e205fa" have entirely different histories.

2 changed files with 6 additions and 9 deletions

View File

@ -967,6 +967,7 @@ function getDonationString($id)
update_contactsinfo();
update_organizationinfo();
update_sponsorshipinfo();
update_activityinfo();
},
activate: function(event, ui) {
@ -975,7 +976,6 @@ function getDonationString($id)
update_contactsinfo();
update_activityinfo();
},
collapsible: true,
selected: -1
});
@ -999,7 +999,7 @@ function getDonationString($id)
$("#searchresults").hide();
if (id == -1) {
$('#editor_tabs').tabs('option', 'active', 0);
$('#editor_tabs').tabs('option', 'selected', 0);
$('#editor_tabs').tabs('option', 'disabled', [1, 2, 3]);
$("#organizationinfo_organization").val("");
@ -1022,7 +1022,7 @@ function getDonationString($id)
$("[name=donortype]").attr('checked', '');
} else {
$('#editor_tabs').tabs('option', 'active', 0);
$('#editor_tabs').tabs('option', 'selected', 0);
$('#editor_tabs').tabs('option', 'collapsible', true);
$('#editor_tabs').tabs('option', 'disabled', []);
}

View File

@ -86,7 +86,6 @@ if ($eid != $_SESSION['users_id']) {
$type = $_SESSION['users_type'];
$u = user_load($eid);
/* Load the fields the user can edit, and theones that are required */
$fields = array();
$required = array();
@ -186,11 +185,10 @@ if (get_value_from_array($_SESSION, 'embed') == true) {
$newstatus = user_personal_info_status($u);
?>
<script type="text/javascript">
function personal_save()
{
{
$("#debug").load("<?= $config['SFIABDIRECTORY'] ?>/user_personal.php?action=save", $("#personal_form").serializeArray());
return false;
return false;
}
function personal_update_status(s) {
@ -391,8 +389,7 @@ if (in_array('committee', $u['types'])) {
echo '</table>';
}
echo '<input type="submit" onclick="personal_save();return false;" value="' . i18n('Save Personal Information') . "\" />\n";
echo '<input type="submit" onclick="personal_save()" value="' . i18n('Save Personal Information') . "\" />\n";
echo '</form>';
echo '<br />';