Wait reload is done before enable the button
We must return the promise of the reload as the button promise to avoid enable back the button before the screen is fully reloaded. issue8488 review249661002
This commit is contained in:
1 parent
77f6c00cad
commit
36e8a2dad6
1 file changed
+1
-1
+1
-1
@@ -1777,7 +1777,7 @@
|
||||
button: function(attributes) {
|
||||
var ids;
|
||||
var process_action = function(action) {
|
||||
this.reload(ids, true).then(function() {
|
||||
return this.reload(ids, true).then(function() {
|
||||
if (typeof action == 'string') {
|
||||
this.client_action(action);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user