Skip to content
This repository has been archived by the owner on Mar 17, 2021. It is now read-only.

Commit

Permalink
Merge remote-tracking branch 'upstream/hotfix-3.0.x' into scz
Browse files Browse the repository at this point in the history
  • Loading branch information
baszoetekouw committed Jan 22, 2018
2 parents 32848c4 + e3c3569 commit 729fb63
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/Model/CoProvisioningTarget.php
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ public function beforeSave($options = array()) {

$o = $this->find('first', $args);

if(!empty($o['m'])) {
$n = $o['m'] + 1;
if(!empty($o[0]['m'])) {
$n = $o[0]['m'] + 1;
}

$this->data['CoProvisioningTarget']['ordr'] = $n;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,11 @@ public function provisionCoGroupDeleted($coProvisioningTargetData, $coGroup) {

public function provisionCoGroupReprovisionRequested($coProvisioningTargetData, $coGroup) {
$provisionerGroup = $this->CoGrouperProvisionerGroup->findProvisionerGroup($coProvisioningTargetData, $coGroup);

if(!isset($provisionerGroup)) {
$provisionerGroup = $this->CoGrouperProvisionerGroup->addProvisionerGroup($coProvisioningTargetData, $coGroup);
}

$groupName = $this->CoGrouperProvisionerGroup->getGrouperGroupName($provisionerGroup);
$groupDescription = $this->CoGrouperProvisionerGroup->getGrouperGroupDescription($provisionerGroup);
$groupDisplayExtension = $this->CoGrouperProvisionerGroup->getGroupDisplayExtension($provisionerGroup);
Expand Down
2 changes: 1 addition & 1 deletion app/View/CoEnrollmentAttributes/fields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@
</select>
<?php endif; ?>
</div>
<div id="attr_def_val_date_div">
<div id="attr_def_val_date_div" class="modelbox-data">
<?php if($e): ?>
<input name="def_date_type"
id="def_date_fixed"
Expand Down
6 changes: 3 additions & 3 deletions app/View/CoPersonRoles/fields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@
?>
</div>
</li>
<li>
<li class="modelbox-data">
<div class="field-name">
<?php
if($e && !$es) {
Expand Down Expand Up @@ -455,7 +455,7 @@
?>
</div>
</li>
<li>
<li class="modelbox-data">
<div class="field-name">
<?php
if($e && !$es) {
Expand Down Expand Up @@ -501,7 +501,7 @@
foreach($vv_extended_attributes as $c) {
$attr = strtolower($c['CoExtendedAttribute']['name']);
?>
<li>
<li class="modelbox-data">
<div class="field-name">
<?php
if($e && !$es) {
Expand Down
4 changes: 2 additions & 2 deletions app/View/OrgIdentities/fields.inc
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@
?>
</div>
</li>
<li>
<li class="modelbox-data">
<div class="field-name">
<?php
if($e) {
Expand Down Expand Up @@ -496,7 +496,7 @@
?>
</div>
</li>
<li>
<li class="modelbox-data">
<div class="field-name">
<?php
if($e) {
Expand Down
4 changes: 4 additions & 0 deletions app/webroot/css/co-base.css
Original file line number Diff line number Diff line change
Expand Up @@ -1436,6 +1436,10 @@ ul.form-list select {
ul.form-list li.fields-submit .required {
font-style: italic;
}
ul.form-list li.modelbox-data #ui-datepicker-div {
position: relative !important; /* a fix for datepickers appended to fields in the form-list */
margin: 0 0 0 9px;
}
ul.field-children {
margin: 0.5em;
padding: 0;
Expand Down

0 comments on commit 729fb63

Please sign in to comment.