Skip to content

Commit

Permalink
Fix use of size vs size() #3421
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisala committed Jan 29, 2025
1 parent 131ec37 commit 1ee5c7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions grails-app/taglib/au/org/ala/merit/FCTagLib.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class FCTagLib {
id:"${attrs.id ?: attrs.name}",
type:'text',
size:'16',
class: attrs.size ?: 'input-xlarge'
class: attrs.size() ?: 'input-xlarge'
]

def ignoreList = ['name', 'id']
Expand Down Expand Up @@ -172,7 +172,7 @@ class FCTagLib {
def inputAttrs = [
name:"${attrs.name}",
id:"${attrs.id ?: attrs.name}",
class: (attrs.size ?: 'span6') + ' printed-form-field'
class: (attrs.size() ?: 'span6') + ' printed-form-field'
]

def ignoreList = ['name', 'id']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ class ProjectBlogSpec extends StubbedCasSpec {
and:
//Force to nav to overview page
overviewBtn().click()
blogModule.blogs().size == 1
blogModule.blogs().size() == 1


when:
Expand Down

0 comments on commit 1ee5c7e

Please sign in to comment.