File tree 8 files changed +12
-10
lines changed
8 files changed +12
-10
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ apply from: "${project.projectDir}/gradle/publish.gradle"
40
40
repositories {
41
41
mavenLocal()
42
42
// for missing jai_core.jar
43
- // maven { url "https://mvnrepository.com" }
43
+ // maven { url "https://mvnrepository.com" }
44
44
maven { url " https://repo.osgeo.org/repository/release/" }
45
45
maven { url " https://repo.grails.org/grails/core" }
46
46
maven { url = uri(" https://maven.pkg.github.com/atlasoflivingaustralia/ecodata-client-plugin" )
Original file line number Diff line number Diff line change @@ -565,7 +565,7 @@ function ProjectFinder(config) {
565
565
566
566
// Results view
567
567
var savedViewMode = amplify . store ( 'pt-view-state' ) ;
568
- savedViewMode = savedViewMode || "# grid-tab" ; //Default is the new map-popup view
568
+ savedViewMode = savedViewMode || "grid-tab" ; //Default is the new map-popup view
569
569
$ ( '.project-finder-tab a#' + savedViewMode ) . tab ( 'show' ) ;
570
570
571
571
// Filters view
Original file line number Diff line number Diff line change 53
53
}
54
54
55
55
.ui-front {
56
- z-index : 100 ;
56
+ z-index : 2000 ;
57
57
}
58
58
59
59
Original file line number Diff line number Diff line change 259
259
260
260
<g:each in =" ${ metaModel? . outputs } " var =" outputName" >
261
261
<g:if test =" ${ outputName != ' Photo Points' } " >
262
- <g:set var =" blockId" value =" ${ fc. toSingleWord([name: outputName]) } " />
262
+ <g:set var =" blockId" value =" ${ raw( fc. toSingleWord([name: outputName]) )} " />
263
263
var viewModelName = "${ blockId } ViewModel",
264
264
elementId = "ko${ blockId } ",
265
- outputName = "${ outputName } ";
265
+ outputName = "${ raw( outputName) } ";
266
266
267
267
var output = $.grep(activity.outputs || [], function(it){return it.name == outputName})[0] || { name: outputName};
268
268
var config = $.grep(metaModel.outputConfig || [], function(it){return it.outputName == outputName})[0] || {};
Original file line number Diff line number Diff line change 127
127
128
128
<!-- ko stopBinding:true -->
129
129
<g:each in =" ${ metaModel? . outputs } " var =" outputName" >
130
- <g:set var =" blockId" value =" ${ fc. toSingleWord([name: outputName]) } " />
130
+ <g:set var =" blockId" value =" ${ raw( fc. toSingleWord([name: outputName]) )} " />
131
131
<g:set var =" model" value =" ${ outputModels[outputName] } " />
132
132
<g:set var =" output" value =" ${ activity. outputs. find { it. name == outputName } } " />
133
133
<g:if test =" ${ ! output} " >
148
148
$(function(){
149
149
var viewModelName = "${ blockId } ViewModel",
150
150
elementId = "ko${ blockId } ",
151
- outputName = "${ outputName } ",
151
+ outputName = "${ raw( outputName) } ",
152
152
viewModelInstance = viewModelName + "Instance";
153
153
154
154
var output = $.grep(activity.outputs || [], function(it){return it.name == outputName})[0] || { name: outputName};
Original file line number Diff line number Diff line change 60
60
withCredentials: true
61
61
},
62
62
beforeSend : function (xhr ) {
63
- < g: if test= " ${ authorization } " >
64
- xhr .setRequestHeader (' Authorization' , " ${ raw(authorization ) } " );
63
+ < g: if test= " ${ Authorization } " >
64
+ xhr .setRequestHeader (' Authorization' , " ${ raw(Authorization ) } " );
65
65
< / g: if >
66
66
< g: elseif test= " ${ grailsApplication. config. getProperty(" mobile.authKeyEnabled" , Boolean ) && authKey && userName } " >
67
67
xhr .setRequestHeader (' authKey' , " ${ raw(authKey) } " );
Original file line number Diff line number Diff line change 72
72
isUserPage: true,
73
73
hideWorldWideBtn: true,
74
74
isCitizenScience: false,
75
- showAllProjects: true
75
+ showAllProjects: true,
76
76
</g:if >
77
77
<g:else >
78
78
<g:if test =" ${ isEcoScience } " >
Original file line number Diff line number Diff line change @@ -39,9 +39,11 @@ module.exports = function (config) {
39
39
'node_modules/leaflet/dist/leaflet.js' ,
40
40
'grails-app/assets/vendor/leaflet-plugins-2.0.0/layer/tile/Google.js' ,
41
41
'grails-app/assets/javascripts/MapUtilities.js' ,
42
+ 'https://cdn.jsdelivr.net/gh/AtlasOfLivingAustralia/ecodata-client-plugin/grails-app/assets/vendor/expr-eval/2.0.2/bundle.js' ,
42
43
'https://cdn.jsdelivr.net/gh/AtlasOfLivingAustralia/ecodata-client-plugin/grails-app/assets/vendor/select2/4.0.3/js/select2.full.js' ,
43
44
'https://cdn.jsdelivr.net/gh/AtlasOfLivingAustralia/ecodata-client-plugin/grails-app/assets/vendor/typeahead/0.11.1/bloodhound.js' ,
44
45
'https://cdn.jsdelivr.net/gh/AtlasOfLivingAustralia/ecodata-client-plugin/grails-app/assets/vendor/expr-eval/2.0.2/bundle.js' ,
46
+ 'https://cdn.jsdelivr.net/gh/AtlasOfLivingAustralia/ecodata-client-plugin/grails-app/assets/javascripts/forms.js' ,
45
47
'https://cdn.jsdelivr.net/gh/AtlasOfLivingAustralia/ecodata-client-plugin/grails-app/assets/javascripts/speciesModel.js' ,
46
48
'https://cdn.jsdelivr.net/gh/AtlasOfLivingAustralia/ecodata-client-plugin/grails-app/assets/javascripts/forms.js' ,
47
49
'grails-app/assets/javascripts/projectActivityInfo.js' ,
You can’t perform that action at this time.
0 commit comments