|
Lines 209-215
define( [ 'marc-record', 'koha-backend', 'preferences', 'text-marc', 'widget' ],
Link Here
|
| 209 |
|
209 |
|
| 210 |
_editorKeys[copy_line] = function( cm ) { |
210 |
_editorKeys[copy_line] = function( cm ) { |
| 211 |
// Copy line |
211 |
// Copy line |
| 212 |
if ( cm.somethingSelected() ) return true; |
212 |
if ( cm.somethingSelected() ) return cm.Pass; |
| 213 |
var curLine = cm.getLine( cm.getCursor().line ); |
213 |
var curLine = cm.getLine( cm.getCursor().line ); |
| 214 |
$("#clipboard").prepend('<option>'+curLine+'</option>'); |
214 |
$("#clipboard").prepend('<option>'+curLine+'</option>'); |
| 215 |
$("#clipboard option:first-child").prop('selected', true); |
215 |
$("#clipboard option:first-child").prop('selected', true); |
| 216 |
- |
|
|