Skip to content

Commit 972216d

Browse files
committed
is private flag
1 parent ba56ee7 commit 972216d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

assets/javascripts/gtt_print.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,15 @@ $(function() {
103103
requestData.attributes[obj.name] = $('form.print_box textarea').val();
104104
break;
105105

106+
case 'is_private':
107+
if (data.issue[obj.name] === true) {
108+
requestData.attributes[obj.name] = "非公開";
109+
}
110+
else {
111+
requestData.attributes[obj.name] = "公開";
112+
}
113+
break;
114+
106115
case 'assigned_to':
107116
case 'author':
108117
case 'priority':

0 commit comments

Comments
 (0)