Changes between Version 1 and Version 2 of Ticket #12192, comment 6
- Timestamp:
- Oct 8, 2014, 11:27:32 AM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #12192, comment 6
v1 v2 1 Cursor disappears if editor has focus when download dialog is shown. This is the reason why "download file" button works and toolbar button does not. The simplest workaround is to blur editor right before dialog is shown:1 Cursor disappears if the editor has focus when the download dialog is shown. This is the reason why "download file" button works and toolbar button does not. The simplest workaround is to blur the editor right before the dialog is shown: 2 2 3 3 {{{ 4 4 function downloadFile() { 5 document.getElementById( 'editor1').blur();5 document.getElementById( 'editor1' ).blur(); 6 6 document.location = 'data:Application/octet-stream,0'; 7 7 } … … 13 13 editor.editable().setAttribute( 'contentEditable', true ); 14 14 }}} 15 But you need to do it when dialog is closed, not earlier.15 But you need to do it when the dialog is closed, not earlier. 16 16 17 Does this solution work sfor you?17 Does this solution work for you?