mirror of
https://github.com/VinylDNS/vinyldns
synced 2025-08-31 14:25:30 +00:00
Fix for safari issue in autocomplete group search
This commit is contained in:
@@ -81,6 +81,7 @@ angular.module('controller.groups', []).controller('GroupsController', function
|
||||
},
|
||||
minLength: 1,
|
||||
select: function (event, ui) {
|
||||
$scope.query = ui.item.value;
|
||||
$("#group-search-text").val(ui.item.value);
|
||||
return false;
|
||||
},
|
||||
|
@@ -43,8 +43,6 @@
|
||||
success: function( data ) {
|
||||
const recordSearch = JSON.parse(JSON.stringify(data));
|
||||
response($.map(recordSearch.recordSets, function(item) {
|
||||
$log.log(request.term);
|
||||
$log.log(item.fqdn);
|
||||
return {value: item.fqdn +' | '+ item.type , label: 'name: ' + item.fqdn + ' | type: ' + item.type }}))}
|
||||
});
|
||||
},
|
||||
@@ -124,6 +122,7 @@
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
function updateRecordDisplay(records) {
|
||||
var newRecords = [];
|
||||
angular.forEach(records, function(record) {
|
||||
|
Reference in New Issue
Block a user