Fix upload a file via et2_file widget, keep all buttons in readonly mode even if the uploading process is finished

This commit is contained in:
Hadi Nategh 2016-04-20 11:38:07 +00:00
parent 209b6de3a2
commit 11a3b76094

View File

@ -448,7 +448,7 @@ var et2_file = (function(){ "use strict"; return et2_inputWidget.extend(
* Re-enables submit buttons when done
*/
onFinish: function() {
this.disabled_buttons.attr("disabled", false).css('cursor','pointer');
this.disabled_buttons.attr("disabled", false).css('cursor','pointer').removeClass('et2_button_ro');
var file_count = this.resumable.files.length;