Changeset 4158
- Timestamp:
- 12/06/13 14:27:29 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
cats/SCHEMAcat/trunk/urn.org.isocat.schemacat.site/site/scripts/controllers.js
r4151 r4158 187 187 //check if schemaIndex is out of range (can happen e.g. due to manual input) 188 188 //reload on schema index 0 if so 189 if (isNaN(parseInt(index, 10)) || index < 0 || index > $scope.schemasList.length ) {189 if (isNaN(parseInt(index, 10)) || index < 0 || index > $scope.schemasList.length - 1) { 190 190 $scope.selectedSchemaIndex = undefined; 191 191 $location.search({
Note: See TracChangeset
for help on using the changeset viewer.