mirror of
https://gitlab.com/flectra-hq/flectra.git
synced 2026-11-02 09:58:50 -06:00
[PATCH] Upstream patch - 20072022
This commit is contained in:
1 parent
c1d16f0845
commit
deb72c1e21
31 files changed
+249
-59
No files matched your search
@@ -174,9 +174,8 @@ var DataImport = AbstractAction.extend({
|
||||
this.setup_date_format_picker();
|
||||
this.setup_sheets_picker();
|
||||
|
||||
return Promise.all([
|
||||
this._super(),
|
||||
self.create_model().then(function (id) {
|
||||
return this._super().then(function () {
|
||||
return self.create_model().then(function (id) {
|
||||
self.id = id;
|
||||
self.$('input[name=import_id]').val(id);
|
||||
|
||||
@@ -185,8 +184,8 @@ var DataImport = AbstractAction.extend({
|
||||
cp_content: {$buttons: self.$buttons},
|
||||
};
|
||||
self.updateControlPanel(status);
|
||||
}),
|
||||
]);
|
||||
});
|
||||
});
|
||||
},
|
||||
create_model: function() {
|
||||
return this._rpc({
|
||||
|
||||
Reference in new issue
Block a user