Skip to content

Commit

Permalink
Release v2.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
narenranjit committed Jul 10, 2018
1 parent 3ecfb03 commit 46298de
Show file tree
Hide file tree
Showing 9 changed files with 2,425 additions and 2,220 deletions.
6 changes: 3 additions & 3 deletions dist/components/assignment/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://forio.com/tools/js-libs/2.6.0/components/assignment/assignment.css">
<link rel="stylesheet" href="https://forio.com/tools/js-libs/2.7.0/components/assignment/assignment.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/2.4.1/lodash.js"></script>
</head>
Expand Down Expand Up @@ -73,8 +73,8 @@
</div>
</div>
<!-- make sure to include jquery, epicenter.js and assignment.js -->
<script src="https://forio.com/tools/js-libs/2.6.0/epicenter.min.js"></script>
<script src="https://forio.com/tools/js-libs/2.6.0/components/assignment/assignment.js"></script>
<script src="https://forio.com/tools/js-libs/2.7.0/epicenter.min.js"></script>
<script src="https://forio.com/tools/js-libs/2.7.0/components/assignment/assignment.js"></script>
<script>
new window.forio.MultiplayerAssignmentComponent({
el: '#assignment-component',
Expand Down
6 changes: 3 additions & 3 deletions dist/components/login/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">

<!-- login.css provides styling for the group selector pop over dialog -->
<link rel="stylesheet" href="https://forio.com/tools/js-libs/2.6.0/components/login/login.css">
<link rel="stylesheet" href="https://forio.com/tools/js-libs/2.7.0/components/login/login.css">

<!-- make sure to include jquery, epicenter.js and login.js -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script src="https://forio.com/tools/js-libs/2.6.0/epicenter.min.js"></script>
<script src="https://forio.com/tools/js-libs/2.6.0/components/login/login.js"></script>
<script src="https://forio.com/tools/js-libs/2.7.0/epicenter.min.js"></script>
<script src="https://forio.com/tools/js-libs/2.7.0/components/login/login.js"></script>
</head>
<body>
<!--
Expand Down
4 changes: 2 additions & 2 deletions dist/components/login/login.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,14 +81,14 @@ $(function () {
})
.fail(function (error) {
if (error.status === 401) {
showError('Invalid user name or password.', error.status);
showError('Invalid user name or password.');
} else if (error.status === 403) {
if (error.type === 'MULTIPLE_GROUPS') {
selectGroup(userName, password, account, project, error.userGroups, action);
} else if (error.type === 'NO_GROUPS') {
showError('The user has no groups associated in this account');
} else {
showError(error.statusText || ('Unknown Error' + error.status));
showError(error.statusText || error.message || ('Unknown Error' + error.status));
}
} else {
showError('Unknown error occured. Please try again. (' + error.status + ')');
Expand Down
2 changes: 1 addition & 1 deletion dist/components/login/login.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 46298de

Please sign in to comment.