mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 06:23:38 +00:00
views/realm_aliases.py: Use domain instead of id as handle for RealmAlias.
We need to make the change for the API, and the next commit introduces a unique_together constraint on (realm, domain) anyway.
This commit is contained in:
committed by
Tim Abbott
parent
06cc306d00
commit
b4186fdfdd
@@ -902,7 +902,8 @@ function _setup_page() {
|
||||
});
|
||||
|
||||
$("#alias_table").on("click", ".delete_alias", function () {
|
||||
var url = "/json/realm/domains/" + $(this).data('id');
|
||||
var domain = $(this).parents("tr").find(".domain").text();
|
||||
var url = "/json/realm/domains/" + domain;
|
||||
var aliases_info = $("#realm_aliases_modal").find(".aliases_info");
|
||||
|
||||
channel.del({
|
||||
|
||||
Reference in New Issue
Block a user