Aleksander Machniak
2014-05-15 44fe214025658f9abe407e744db78b308f1e3db2
Merge branch 'master' of github.com:roundcube/roundcubemail
2 files modified
19 ■■■■ changed files
program/js/treelist.js 16 ●●●●● patch | view | raw | blame | history
skins/larry/styles.css 3 ●●●● patch | view | raw | blame | history
program/js/treelist.js
@@ -282,12 +282,14 @@
        search_active = search_;
        // add clone to current search results (top level)
        $('<li>')
          .attr('id', li.attr('id') + '--xsR')
          .attr('class', li.attr('class'))
          .addClass('searchresult__')
          .append(li.children().first().clone(true, true))
          .appendTo(container);
        if (!li.is(':visible')) {
          $('<li>')
            .attr('id', li.attr('id') + '--xsR')
            .attr('class', li.attr('class'))
            .addClass('searchresult__')
            .append(li.children().first().clone(true, true))
            .appendTo(container);
        }
      }
    }
    // insert at top level
@@ -434,7 +436,7 @@
    var search_tree = function(items) {
      $.each(items, function(i, node) {
        var li, sli;
        if (!node.virtual && !node.deleted && String(node.text).toLowerCase().indexOf(q) >= 0) {
        if (!node.virtual && !node.deleted && String(node.text).toLowerCase().indexOf(q) >= 0 && hits.indexOf(node.id) < 0) {
          li = id2dom(node.id);
          sli = $('<li>')
            .attr('id', li.attr('id') + '--xsR')
skins/larry/styles.css
@@ -439,8 +439,7 @@
    background-position: -2px -317px;
}
a.iconbutton.searchicon,
a.iconbutton.searchoptions {
a.iconbutton.searchicon {
    width: 15px;
}