Skip to content

Commit bd525f5

Browse files
author
Fritz Lekschas
committed
Re-added noInput function.
1 parent 2ebea09 commit bd525f5

3 files changed

Lines changed: 20 additions & 5 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
Changelog
22
=========
33

4-
1.6.0 / 2014-09-xx
4+
1.6.1 / 2014-11-04
5+
------------------
6+
7+
A few minor bug fixes and code clean-up.
8+
9+
10+
1.6.0 / 2014-11-03
511
------------------
612

713
Linked data from EBI RDF integrated and completely re-organised directory
@@ -12,9 +18,9 @@ the [README][README.md#Folder-Structure] for details.
1218

1319
* Source code now organised by *folders-by-feature*.
1420
* Gene expression experiments can now be searched. Double click on an entity and
15-
click on `Gene Expression`.
21+
click on `BioSamples`.
1622
* Much more sophisticated build system with a growing number of tests.
17-
* Re-implemented, responsive accordion.
23+
* Re-implemented, responsive accordion.
1824
* Re-implemented results bars for displaying several different results depending
1925
on what has been searched. (I.e. SBB, EBI RDF, etc.)
2026
* Re-implemented dialogs.
@@ -27,7 +33,7 @@ the [README][README.md#Folder-Structure] for details.
2733
* New icon for the drop down panel of the developmental stages. Should show the
2834
meiosis of a cell. Feedback is very welcome.
2935
* Search inputs now feature a magnifier icon.
30-
* AngularJS from 1.2.22 to 1.2.25
36+
* AngularJS from 1.2.22 to 1.2.25.
3137

3238
**Bug Fixes:**
3339

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "sbb",
33
"fullName": "Semantic Body Browser",
44
"author": "Fritz Lekschas",
5-
"version": "1.6.0",
5+
"version": "1.6.1",
66
"homepage": "http://sbb.cellfinder.org",
77
"licenses": {
88
"type": "GPL3",

src/app/browser/directives/chosen.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,15 @@ angular
195195
}
196196
};
197197

198+
scope.noInput = function () {
199+
if (!scope.selection.length && !scope.hits.length && $selection.find('li:last input').val().length < 2) {
200+
return true;
201+
}
202+
else {
203+
return false;
204+
}
205+
};
206+
198207
scope.selectSingleGene = function (index) {
199208
if (scope.selectedGene === index) {
200209
index = undefined;

0 commit comments

Comments
 (0)