diff --git a/api/js/etemplate/et2_widget_file.js b/api/js/etemplate/et2_widget_file.js index c7f480d441..44cbe1ce3c 100644 --- a/api/js/etemplate/et2_widget_file.js +++ b/api/js/etemplate/et2_widget_file.js @@ -159,6 +159,7 @@ var et2_file = (function(){ "use strict"; return et2_inputWidget.extend( },this.asyncOptions); this.asyncOptions.fieldName = this.options.id; this.createInputWidget(); + this.set_readonly(this.options.readonly); }, destroy: function() {