We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5868d36 commit 35021ebCopy full SHA for 35021eb
qt-gerrit-ui-plugin/qt-gerrit-ui-plugin.html
@@ -246,13 +246,16 @@
246
},
247
248
_handleConfirmTap(e) {
249
+ this.$.dialog.disabled = true;
250
e.preventDefault();
251
this.plugin.restApi().post(this.get('api_url'), {})
252
.then((ok_resp) => {
253
+ this.$.dialog.disabled = false;
254
this.plugin.custom_popup_promise.close();
255
this.plugin.custom_popup_promise = null;
256
window.location.reload(true);
257
}).catch((failed_resp) => {
258
259
this.set('errorMessage', 'FAILED: ' + failed_resp);
260
});
261
0 commit comments