# HG changeset patch # User durandn # Date 1442580025 -7200 # Node ID 0b287ecbc2cb23718dbba71a37e58257bb295aa2 # Parent 4e8b3df6e5be58d95be2a11e76d09c46e746393e Added support for custom button texts diff -r 4e8b3df6e5be -r 0b287ecbc2cb src/widgets/CreateAnnotation.js --- a/src/widgets/CreateAnnotation.js Fri Sep 18 14:39:45 2015 +0200 +++ b/src/widgets/CreateAnnotation.js Fri Sep 18 14:40:25 2015 +0200 @@ -53,6 +53,8 @@ close_after_send: false, tag_prefix: "#", pause_when_displaying: false, + custom_send_button: false, + custom_cancel_button: false, }; IriSP.Widgets.CreateAnnotation.prototype.messages = { @@ -114,8 +116,8 @@ + '{{#show_creator_field}}{{l10n.your_name_}} {{/show_creator_field}}' + '' + '
' - + '' - + '' + + '' + + '' + '{{#show_mic_record}}
Add voice annotation
' + ' ' + ' '