}
function notify($user, $other) {
- if ($other && $other->id != $user->id) {
+ if ($other->id != $user->id) {
if ($other->email && $other->emailnotifynudge) {
mail_notify_nudge($user, $other);
}
# XXX: notify by SMS
}
}
-
}
+
$("#nudge").ajaxForm ({ dataType: 'xml',
success: function(xml) { $("#nudge").replaceWith(document._importNode($("#nudge_response", xml).get(0),true)); }
});
+ $("#nudge").each(addAjaxHidden);
$("#nudge .submit").bind('click', function(e) { $(this).addClass("processing"); });
});
}
}
return true;
-}
\ No newline at end of file
+}