Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
jack-brinkman committed Nov 23, 2023
2 parents b6a05f3 + 2007d80 commit 36c75f7
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ apply from: "${project.projectDir}/gradle/publish.gradle"
repositories {
mavenLocal()
//for missing jai_core.jar
//maven { url "https://mvnrepository.com" }
//maven { url "https://mvnrepository.com" }
maven { url "https://repo.osgeo.org/repository/release/" }
maven { url "https://repo.grails.org/grails/core" }
maven { url = uri("https://maven.pkg.github.com/atlasoflivingaustralia/ecodata-client-plugin")
Expand Down
2 changes: 1 addition & 1 deletion grails-app/assets/javascripts/project-finder.js
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ function ProjectFinder(config) {

// Results view
var savedViewMode = amplify.store('pt-view-state');
savedViewMode = savedViewMode || "#grid-tab"; //Default is the new map-popup view
savedViewMode = savedViewMode || "grid-tab"; //Default is the new map-popup view
$('.project-finder-tab a#'+savedViewMode).tab('show');

// Filters view
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
}

.ui-front {
z-index: 100;
z-index: 2000;
}


Expand Down
4 changes: 2 additions & 2 deletions grails-app/views/bioActivity/_createEditActivityBody.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -259,10 +259,10 @@

<g:each in="${metaModel?.outputs}" var="outputName">
<g:if test="${outputName != 'Photo Points'}">
<g:set var="blockId" value="${fc.toSingleWord([name: outputName])}"/>
<g:set var="blockId" value="${raw(fc.toSingleWord([name: outputName]))}"/>
var viewModelName = "${blockId}ViewModel",
elementId = "ko${blockId}",
outputName = "${outputName}";
outputName = "${raw(outputName)}";

var output = $.grep(activity.outputs || [], function(it){return it.name == outputName})[0] || { name: outputName};
var config = $.grep(metaModel.outputConfig || [], function(it){return it.outputName == outputName})[0] || {};
Expand Down
4 changes: 2 additions & 2 deletions grails-app/views/bioActivity/index.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@

<!-- ko stopBinding:true -->
<g:each in="${metaModel?.outputs}" var="outputName">
<g:set var="blockId" value="${fc.toSingleWord([name: outputName])}"/>
<g:set var="blockId" value="${raw(fc.toSingleWord([name: outputName]))}"/>
<g:set var="model" value="${outputModels[outputName]}"/>
<g:set var="output" value="${activity.outputs.find { it.name == outputName }}"/>
<g:if test="${!output}">
Expand All @@ -148,7 +148,7 @@
$(function(){
var viewModelName = "${blockId}ViewModel",
elementId = "ko${blockId}",
outputName = "${outputName}",
outputName = "${raw(outputName)}",
viewModelInstance = viewModelName + "Instance";

var output = $.grep(activity.outputs || [], function(it){return it.name == outputName})[0] || { name: outputName};
Expand Down
4 changes: 2 additions & 2 deletions grails-app/views/layouts/mobile.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@
withCredentials: true
},
beforeSend: function (xhr) {
<g:if test="${authorization}">
xhr.setRequestHeader('Authorization', "${raw(authorization)}");
<g:if test="${Authorization}">
xhr.setRequestHeader('Authorization', "${raw(Authorization)}");
</g:if>
<g:elseif test="${grailsApplication.config.getProperty("mobile.authKeyEnabled", Boolean) && authKey && userName}">
xhr.setRequestHeader('authKey', "${raw(authKey)}");
Expand Down
2 changes: 1 addition & 1 deletion grails-app/views/project/projectFinder.gsp
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
isUserPage: true,
hideWorldWideBtn: true,
isCitizenScience: false,
showAllProjects: true
showAllProjects: true,
</g:if>
<g:else>
<g:if test="${isEcoScience}">
Expand Down
2 changes: 2 additions & 0 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,11 @@ module.exports = function (config) {
'node_modules/leaflet/dist/leaflet.js',
'grails-app/assets/vendor/leaflet-plugins-2.0.0/layer/tile/Google.js',
'grails-app/assets/javascripts/MapUtilities.js',
'https://cdn.jsdelivr.net/gh/AtlasOfLivingAustralia/ecodata-client-plugin/grails-app/assets/vendor/expr-eval/2.0.2/bundle.js',
'https://cdn.jsdelivr.net/gh/AtlasOfLivingAustralia/ecodata-client-plugin/grails-app/assets/vendor/select2/4.0.3/js/select2.full.js',
'https://cdn.jsdelivr.net/gh/AtlasOfLivingAustralia/ecodata-client-plugin/grails-app/assets/vendor/typeahead/0.11.1/bloodhound.js',
'https://cdn.jsdelivr.net/gh/AtlasOfLivingAustralia/ecodata-client-plugin/grails-app/assets/vendor/expr-eval/2.0.2/bundle.js',
'https://cdn.jsdelivr.net/gh/AtlasOfLivingAustralia/ecodata-client-plugin/grails-app/assets/javascripts/forms.js',
'https://cdn.jsdelivr.net/gh/AtlasOfLivingAustralia/ecodata-client-plugin/grails-app/assets/javascripts/speciesModel.js',
'https://cdn.jsdelivr.net/gh/AtlasOfLivingAustralia/ecodata-client-plugin/grails-app/assets/javascripts/forms.js',
'grails-app/assets/javascripts/projectActivityInfo.js',
Expand Down

0 comments on commit 36c75f7

Please sign in to comment.