mirror of
https://github.com/internetee/registry.git
synced 2025-07-20 17:55:55 +02:00
Adding nameservers to domain
This commit is contained in:
parent
24e7beed5b
commit
c24c8c7181
10 changed files with 69 additions and 8 deletions
|
@ -1,7 +1,16 @@
|
|||
$(".js-registrars-typeahead").typeahead
|
||||
source: (query, process) ->
|
||||
$.get "/admin/registrars/search", {query: query}, (data) ->
|
||||
process data
|
||||
map = {}
|
||||
registrars = []
|
||||
|
||||
$.each data, (i, registrar) ->
|
||||
map[registrar.id] = registrar
|
||||
registrars.push registrar.display
|
||||
|
||||
process registrars
|
||||
updater: (item) ->
|
||||
$('input[name="domain[registrar_id]"]').val()
|
||||
|
||||
$(".js-contacts-typeahead").typeahead
|
||||
source: (query, process) ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue