Manual Device Topology

Needed to add the 'autocomplete' jQuery UI component because
it can do minLength=0 properly. Used the smoothness UI theme.

Added typeahead AJAX calls to support the topology searching.

Added new plugin and template for the topology editing page.
This commit is contained in:
Oliver Gorwits
2013-05-07 00:56:19 +01:00
parent bf7a419d08
commit 11d55e0129
25 changed files with 231 additions and 9 deletions

View File

@@ -173,7 +173,7 @@ $(document).ready(function() {
// activate typeahead on the main search box, for device names only
$('#nq').typeahead({
source: function (query, process) {
return $.get('/ajax/data/device/typeahead', { query: query }, function (data) {
return $.get('/ajax/data/devicename/typeahead', { query: query }, function (data) {
return process(data);
});
}