File tree Expand file tree Collapse file tree 1 file changed +3
-15
lines changed
src/frontend/wwwroot/task Expand file tree Collapse file tree 1 file changed +3
-15
lines changed Original file line number Diff line number Diff line change 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 ) ;
You can’t perform that action at this time.
0 commit comments