File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 130
130
<input class="project-column-id" type="hidden" name="id">
131
131
<div class="required field">
132
132
<label class="project-column-title-label" for="project-column-title-input">title</label>
133
- <input id="project-column-title-input" name="title" value="{{.Title}}" required>
133
+ <input id="project-column-title-input" name="title" required>
134
134
</div>
135
135
<div class="field">
136
136
<label class="project-column-color-label" for="project-column-color-input">color</label>
137
137
<div class="js-color-picker-input column">
138
- <input maxlength="7" placeholder="#c320f6" id="project-column-color-input" name="color" value="{{.Color}}" >
138
+ <input maxlength="7" placeholder="#c320f6" id="project-column-color-input" name="color">
139
139
{{template "repo/issue/label_precolors"}}
140
140
</div>
141
141
</div>
Original file line number Diff line number Diff line change @@ -114,7 +114,6 @@ function initRepoProjectColumnEdit(writableProjectBoard: Element): void {
114
114
window . location . reload ( ) ; // newly added column, need to reload the page
115
115
return ;
116
116
}
117
- fomanticQuery ( elModal ) . modal ( 'hide' ) ;
118
117
119
118
// update the newly saved column title and color in the project board (to avoid reload)
120
119
const elEditButton = writableProjectBoard . querySelector < HTMLButtonElement > ( `.show-project-column-modal-edit[${ attrDataColumnId } ="${ columnId } "]` ) ;
@@ -134,6 +133,8 @@ function initRepoProjectColumnEdit(writableProjectBoard: Element): void {
134
133
elBoardColumn . style . removeProperty ( 'color' ) ;
135
134
queryElemChildren < HTMLElement > ( elBoardColumn , '.divider' , ( divider ) => divider . style . removeProperty ( 'color' ) ) ;
136
135
}
136
+
137
+ fomanticQuery ( elModal ) . modal ( 'hide' ) ;
137
138
} finally {
138
139
elForm . classList . remove ( 'is-loading' ) ;
139
140
}
You can’t perform that action at this time.
0 commit comments