Fixes for jpegPhoto attributes during copy operations

This commit is contained in:
Deon George
2011-04-28 23:20:06 +10:00
parent db241f1c98
commit 1f9308dc4d
4 changed files with 16 additions and 10 deletions

View File

@@ -187,9 +187,9 @@ if (count($request['template']->getLDAPmodify(true))) {
echo '<div style="text-align: center;">';
echo '<br />';
printf('<input type="submit" value="%s" %s/>',
_('Commit'),
(isAjaxEnabled() ? sprintf('onclick="return ajSUBMIT(\'BODY\',document.getElementById(\'update_form\'),\'%s\');"',_('Updating Object')) : ''));
// @todo cant use AJAX here, it affects file uploads.
printf('<input type="submit" value="%s" />',
_('Update Object'));
printf('<input type="submit" name="cancel" value="%s" %s/>',
_('Cancel'),