* FIx for issue #2910 : Service remove button click event propagates to underlying element * Use stopImmediatePropagation function to fix the issue
This commit is contained in:
parent
7ca59a0936
commit
90d5debb8c
@ -129,10 +129,11 @@ ReconDialog.prototype._populateDialog = function() {
|
|||||||
.html(" ")
|
.html(" ")
|
||||||
.addClass("recon-dialog-service-selector-remove")
|
.addClass("recon-dialog-service-selector-remove")
|
||||||
.prependTo(record.selector)
|
.prependTo(record.selector)
|
||||||
.click(function() {
|
.click(function(event) {
|
||||||
ReconciliationManager.unregisterService(service, function() {
|
ReconciliationManager.unregisterService(service, function() {
|
||||||
self._refresh(-1);
|
self._refresh(-1);
|
||||||
});
|
});
|
||||||
|
event.stopImmediatePropagation();
|
||||||
});
|
});
|
||||||
|
|
||||||
self._serviceRecords.push(record);
|
self._serviceRecords.push(record);
|
||||||
|
Loading…
Reference in New Issue
Block a user