Skip to content

Commit

Permalink
Fixed tag wrapper div
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Ljungberg committed Apr 21, 2010
1 parent b39e430 commit 2a4e5b1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions simplegeo_solrapi/simplegeo_solrapi.js
Expand Up @@ -16,12 +16,12 @@
if (typeof selectedTids[tid] !== 'undefined') {
$(tag).addClass('active');
}
item.appendTo(source.dialog);
item.appendTo($(source.dialog).children('ul'));
},
source = {
title: Drupal.t('Filter'),
init: function() {
return $('<ul id="simplegeomap-tag-filters" class="dialog"><div class="wrapper"></div></ul>');
return $('<div id="simplegeomap-tag-wrapper"><ul id="simplegeomap-tag-filters" class="dialog"></ul></div>');
},
query: function(data) {
data.facets = 'tid';
Expand All @@ -35,7 +35,7 @@
var tid;
if (typeof json['items'] !== 'undefined') {
tids = json.facets.tid;
source.dialog.empty();
$(source.dialog).children('ul').empty();
for (tid in tids) {
tidFilter(tid, tids[tid]);
}
Expand Down

0 comments on commit 2a4e5b1

Please sign in to comment.