Skip to content

Commit

Permalink
[BP] Fix admin setting error with duplicate id="metadata/workflow/dra…
Browse files Browse the repository at this point in the history
…ftWhenInGroup" (#6980)
  • Loading branch information
ianwallen authored and josegar74 committed Apr 19, 2023
1 parent 67e9d41 commit 9c56ccc
Showing 1 changed file with 11 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,13 +146,17 @@
<input type="radio" class="gn-no-setting" data-ng-model="draftInAllGroups"
data-ng-value="false" /> {{'draftWhenInGroup-selection' | translate}}<br>

<input type="hidden"
class="form-control" id="{{s['name']}}" name="{{s.name}}" value=".*"
data-ng-disabled="draftInAllGroups != true" />

<input type="text"
class="form-control" id="{{s['name']}}" name="{{s.name}}" value="{{s.value}}"
data-ng-disabled="draftInAllGroups == true" />
<input
type="text"
class="form-control"
id="{{s['name']}}"
name="{{s.name}}"
data-ng-model="draftInAllGroupsUserValue"
data-ng-init="draftInAllGroupsInputValue=s.value || '.*'"
data-ng-change="draftInAllGroups == true?null:draftInAllGroupsInputValue=draftInAllGroupsUserValue"
data-ng-readonly="draftInAllGroups == true"
data-ng-value="draftInAllGroups == true ? '.*' : draftInAllGroupsInputValue"
/>
</div>

<input data-ng-switch-when="system/server/timeZone"
Expand Down

0 comments on commit 9c56ccc

Please sign in to comment.