| 1 |
jQuery( function($) { |
| 2 |
$(document).on('click','.fv_player_splash_list_preview', function() { |
| 3 |
fv_player_editor.set_current_video_to_edit( $(this).parents('.thumbs').find('.fv_player_splash_list_preview').index(this) ); |
| 4 |
$(this).parents('tr').find('.fv-player-edit').eq(0).trigger('click'); |
| 5 |
}); |
| 6 |
|
| 7 |
$(document).on('click','.column-shortcode input', function() { |
| 8 |
$(this).select(); |
| 9 |
}); |
| 10 |
|
| 11 |
$(document).on('click', '[data-fv-player-editor-export-overlay-copy]', function() { |
| 12 |
var button = this; |
| 13 |
fv_player_clipboard( $(button).closest('.fv-player-editor-overlay').find('[name=fv_player_copy_to_clipboard]').val(), function() { |
| 14 |
fv_player_editor.overlay_notice( button, 'Text Copied To Clipboard!', 'success', 3000 ); |
| 15 |
}, function() { |
| 16 |
fv_player_editor.overlay_notice( button, '<strong>Error copying text into clipboard!</strong><br />Please copy the content of the above text area manually by using CTRL+C (or CMD+C on MAC).', 'error' ); |
| 17 |
}); |
| 18 |
|
| 19 |
return false; |
| 20 |
}); |
| 21 |
}); |