Skip to content

Commit

Permalink
Merge pull request #1080 from AtlasOfLivingAustralia/dev
Browse files Browse the repository at this point in the history
Preparing v5.2
  • Loading branch information
chrisala authored Feb 21, 2025
2 parents ff491ad + 1c9f2c6 commit a1290cd
Show file tree
Hide file tree
Showing 63 changed files with 3,043 additions and 433 deletions.
51 changes: 0 additions & 51 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ plugins {
id "com.gorylenko.gradle-git-properties" version "2.4.1"
}

version "5.1"
version "5.2-SNAPSHOT"
group "au.org.ala"
description "Ecodata"

Expand Down
2 changes: 2 additions & 0 deletions grails-app/assets/javascripts/score.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ var ScoreModel = function (score, config) {
self.entity = ko.observable(score.entity || 'Activity');
self.tags = ko.observableArray(score.tags);
self.tagOptions = ko.observableArray(score.tags);
self.decimalPlaces = ko.observable(score.decimalPlaces);

var editorPane = document.getElementById(config.scoreEditorId);

Expand Down Expand Up @@ -52,6 +53,7 @@ var ScoreModel = function (score, config) {
model.configuration = editor.get();
delete model.configurationText;
var data = JSON.stringify(model);
data.decimalPlaces = Number(data.decimalPlaces);

delete model.transients;
$.ajax(config.updateScoreUrl, {
Expand Down
Loading

0 comments on commit a1290cd

Please sign in to comment.