Fix file widget readonly is being set correctly

This commit is contained in:
Hadi Nategh 2017-10-13 14:51:45 +02:00
parent 052bef84ce
commit 7922f41499

View File

@ -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() {