You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by ak...@apache.org on 2015/09/18 08:59:49 UTC

ignite git commit: IGNITE-843 Show "Select All" in case of more than 2 items in dropdown.

Repository: ignite
Updated Branches:
  refs/heads/ignite-843 a9375fab9 -> d43f41768


IGNITE-843 Show "Select All" in case of more than 2 items in dropdown.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/d43f4176
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/d43f4176
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/d43f4176

Branch: refs/heads/ignite-843
Commit: d43f417687d8ec6320c7cfa789d3bda77901f823
Parents: a9375fa
Author: Alexey Kuznetsov <ak...@apache.org>
Authored: Fri Sep 18 13:59:41 2015 +0700
Committer: Alexey Kuznetsov <ak...@apache.org>
Committed: Fri Sep 18 13:59:41 2015 +0700

----------------------------------------------------------------------
 modules/control-center-web/src/main/js/views/templates/select.jade | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/d43f4176/modules/control-center-web/src/main/js/views/templates/select.jade
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/views/templates/select.jade b/modules/control-center-web/src/main/js/views/templates/select.jade
index f2537e9..420775d 100644
--- a/modules/control-center-web/src/main/js/views/templates/select.jade
+++ b/modules/control-center-web/src/main/js/views/templates/select.jade
@@ -15,7 +15,7 @@
     limitations under the License.
 
 ul.select.dropdown-menu(tabindex='-1' ng-show='$isVisible()' role='select')
-    li(ng-if='$showAllNoneButtons || ($isMultiple && $matches.length > 5)')
+    li(ng-if='$showAllNoneButtons || ($isMultiple && $matches.length > 2)')
         a(id='li-dropdown-select-all' ng-click='$selectAll()') {{$allText}} ({{$matches.length}})
         a(id='li-dropdown-select-none' ng-click='$selectNone()') {{$noneText}}
         hr(style='margin: 5px 0')