mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-08 22:39:57 +01:00
Fix submit buttons get disabled after file upload
This commit is contained in:
parent
1436aeeb27
commit
6e73a2bb66
@ -352,7 +352,7 @@ var et2_file = /** @class */ (function (_super) {
|
|||||||
* Re-enables submit buttons when done
|
* Re-enables submit buttons when done
|
||||||
*/
|
*/
|
||||||
et2_file.prototype.onFinish = function () {
|
et2_file.prototype.onFinish = function () {
|
||||||
this.disabled_buttons.attr("disabled", 0).css('cursor', 'pointer').removeClass('et2_button_ro');
|
this.disabled_buttons.removeAttr("disabled").css('cursor', 'pointer').removeClass('et2_button_ro');
|
||||||
var file_count = this.resumable.files.length;
|
var file_count = this.resumable.files.length;
|
||||||
// Remove files from list
|
// Remove files from list
|
||||||
while (this.resumable.files.length > 0) {
|
while (this.resumable.files.length > 0) {
|
||||||
|
@ -497,7 +497,7 @@ export class et2_file extends et2_inputWidget
|
|||||||
* Re-enables submit buttons when done
|
* Re-enables submit buttons when done
|
||||||
*/
|
*/
|
||||||
onFinish() {
|
onFinish() {
|
||||||
this.disabled_buttons.attr("disabled", 0).css('cursor','pointer').removeClass('et2_button_ro');
|
this.disabled_buttons.removeAttr("disabled").css('cursor','pointer').removeClass('et2_button_ro');
|
||||||
|
|
||||||
var file_count = this.resumable.files.length;
|
var file_count = this.resumable.files.length;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user