Skip to content

Commit f13a63f

Browse files
Update task.js
1 parent 980f66b commit f13a63f

File tree

1 file changed

+3
-15
lines changed

1 file changed

+3
-15
lines changed

src/frontend/wwwroot/task/task.js

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -252,29 +252,17 @@
252252
taskMessageTextareaElement.style.backgroundColor = "#efefef";
253253
taskMessageTextareaElement.style.cursor = 'not-allowed';
254254
}
255-
// else {
256-
// taskMessageTextareaElement.removeAttribute('disabled')
257-
// taskMessageTextareaElement.style.backgroundColor = "white"
258-
// taskMessageTextareaElement.style.cursor = '';
259-
// }
255+
260256
if(isHumanClarificationRequestNull && taskMessageAddButton){
261257
taskMessageAddButton.setAttribute('disabled', true)
262258
taskMessageAddButton.style.cursor = 'not-allowed';
263259
}
264-
// else {
265-
// taskMessageAddButton.removeAttribute('disabled')
266-
// taskMessageAddButton.style.cursor = 'pointer';
267-
// }
268-
260+
269261
if(isHumanClarificationRequestNull && textInputContainer[0]){
270262
textInputContainer[0].style.backgroundColor = '#efefef';
271263
textInputContainer[0].style.cursor = 'not-allowed';
272264
}
273-
// else {
274-
// textInputContainer[0].style.backgroundColor = 'white';
275-
// textInputContainer[0].style.cursor = '';
276-
// }
277-
265+
278266
})
279267
.catch((error) => {
280268
console.error("Error:", error);

0 commit comments

Comments
 (0)