aboutsummaryrefslogtreecommitdiff
path: root/sources/plugins/html5audio/dialogs/html5audio.js
diff options
context:
space:
mode:
Diffstat (limited to 'sources/plugins/html5audio/dialogs/html5audio.js')
-rw-r--r--sources/plugins/html5audio/dialogs/html5audio.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/sources/plugins/html5audio/dialogs/html5audio.js b/sources/plugins/html5audio/dialogs/html5audio.js
index 0ab0d7d..47de947 100644
--- a/sources/plugins/html5audio/dialogs/html5audio.js
+++ b/sources/plugins/html5audio/dialogs/html5audio.js
@@ -109,6 +109,24 @@
109 commit: function( widget ) { 109 commit: function( widget ) {
110 widget.setData( 'autoplay', this.getValue() ); 110 widget.setData( 'autoplay', this.getValue() );
111 } 111 }
112 },
113 {
114 type: 'radio',
115 id: 'allowdownload',
116 label: editor.lang.html5audio.allowdownload,
117 items: [
118 [editor.lang.html5audio.yes, 'yes'],
119 [editor.lang.html5audio.no, 'no']
120 ],
121 'default': 'no',
122 setup: function( widget ) {
123 if ( widget.data.allowdownload ) {
124 this.setValue(widget.data.allowdownload);
125 }
126 },
127 commit: function( widget ) {
128 widget.setData( 'allowdownload', this.getValue() );
129 }
112 } ] 130 } ]
113 } ] 131 } ]
114 } ] 132 } ]