File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 990990 //Default value we don't do anything unless we implement setOption related to that.
991991 this . _editorInput . prop ( "readonly" , false ) ;
992992 this . _valueInput . prop ( "readonly" , false ) ;
993- this . _editorInput [ 0 ] . removeAttribute ( "disabled" ) ;
994- this . _valueInput [ 0 ] . removeAttribute ( "disabled" ) ;
993+ this . _editorInput . prop ( "disabled" , false ) ;
994+ this . _valueInput . prop ( "disabled" , false ) ;
995995 this . _editorContainer . removeClass ( this . css . disabled ) ;
996996 this . _attachEvents ( ) ;
997997 } ,
10011001 this . _valueInput . prop ( "disabled" , true ) ;
10021002 this . _disableEditor ( true ) ;
10031003 } else {
1004- this . _editorInput [ 0 ] . removeAttribute ( "disabled" ) ;
1005- this . _valueInput [ 0 ] . removeAttribute ( "disabled" ) ;
1004+ this . _editorInput . prop ( "disabled" , false ) ;
1005+ this . _valueInput . prop ( "disabled" , false ) ;
10061006 if ( ! this . options . readOnly ) {
10071007 this . _setEditableMode ( ) ;
10081008 }
22412241 if ( target && target . attr ( "disabled" ) ) {
22422242 target . removeClass ( this . css . disabled ) ;
22432243 target [ 0 ] . removeAttribute ( "disabled" ) ;
2244- target [ 0 ] . removeAttribute ( "disabled" ) ;
2244+ target . prop ( "disabled" , false ) ;
22452245 this . _attachButtonsEvents ( type , target ) ;
22462246 }
22472247 } ,
You can’t perform that action at this time.
0 commit comments