Skip to content

Commit

Permalink
Version 1.4.0 tidy up
Browse files Browse the repository at this point in the history
README plus two minor error corrections
  • Loading branch information
Maprunner committed Apr 23, 2017
1 parent 052fad2 commit 61b1097
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 12 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# Routegadget 2

## Latest news
Version 1.3.4 was released on 18th February 2017. It includes a translation into Russian.
Version 1.4.0 was released on 22nd April 2017.

The main recent change is a new function that will allow you to delete a route that you have drawn. This will only be allowed from the PC (or tablet or phone) on which you drew the route. This is a balance between providing a useful function (probably the most requested) and preventing abuse of the system. It is limited to the last 10 routes drawn, they must have been drawn in RG2 version 1.3.1 or later, and it will only work on "modern" browsers (meaning it will be fine for the vast majority of people).

If all those conditions are OK then you should see a small dustbin icon next to your name when you have drawn or uploaded a route. Click on the dustbin and you will be asked to confirm deletion.
It includes various minor enhancements, including the facility to search the events and results lists.

[Guidance on creating map files] (https://github.com/Maprunner/rg2/wiki/Map-files) has also been added.

Expand Down
2 changes: 1 addition & 1 deletion js/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
msg = "The uploaded map file is " + size + "MB (" + this.width;
msg += " x " + this.height + "). It is recommended that you only use maps under";
msg += " " + rg2.config.FILE_SIZE_WARNING + "MB. Please see the ";
msg += "<a href='https://github.com/Maprunner/rg2/wiki/Map-files'>RG2 wiki</a> for";
msg += "<a href='https://github.com/Maprunner/rg2/wiki/Map-files'>RG2 wiki</a> for ";
msg += "guidance on how to create map files.";
if (size > rg2.config.FILE_SIZE_WARNING) {
rg2.utils.showWarningDialog("Oversized map upload", msg);
Expand Down
4 changes: 2 additions & 2 deletions js/rg2-1.4.0.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/rg2-1.4.0.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/rg2manager-1.4.0.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/rg2manager-1.4.0.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/rg2ui.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@
filter = event.target.value.toUpperCase();
rows = $("#rg2-event-list")[0].getElementsByTagName("a");
for (i = 0; i < rows.length; i += 1) {
if (rows[i].outerText.toUpperCase().indexOf(filter) > -1) {
if (rows[i].innerText.toUpperCase().indexOf(filter) > -1) {
rows[i].parentElement.style.display = "";
} else {
rows[i].parentElement.style.display = "none";
Expand Down

0 comments on commit 61b1097

Please sign in to comment.