From 1b05c09f6eaf3afa0db696a5c40de580aabc0f81 Mon Sep 17 00:00:00 2001 From: Joris Tirado Date: Tue, 28 Apr 2015 10:09:30 -0700 Subject: [PATCH] UI-1351: Use chosen plugin to list users in feature keys --- submodules/devices/devices.js | 3 ++- views/devices-sip_device.html | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/submodules/devices/devices.js b/submodules/devices/devices.js index 0bb8e58b..e6d9b96d 100644 --- a/submodules/devices/devices.js +++ b/submodules/devices/devices.js @@ -354,7 +354,8 @@ define(function(require){ monster.ui.protectField(templateDevice.find('#sip_password'), templateDevice); templateDevice.find('[data-toggle="tooltip"]').tooltip(); - templateDevice.find('#mac_address').mask("hh:hh:hh:hh:hh:hh", {placeholder:" "}); + templateDevice.find('#mac_address').mask("hh:hh:hh:hh:hh:hh", { placeholder:" " }); + templateDevice.find('.chosen-feature-key-user').chosen({ search_contains: true }); if(!(data.media.encryption.enforce_security)) { templateDevice.find('#rtp_method').hide(); diff --git a/views/devices-sip_device.html b/views/devices-sip_device.html index 821a53ce..2bf431ef 100644 --- a/views/devices-sip_device.html +++ b/views/devices-sip_device.html @@ -257,7 +257,7 @@
- {{#each ../../extra.users}} {{/each}} @@ -273,7 +273,7 @@
- {{#each ../../extra.users}} {{/each}}