Skip to content

Commit

Permalink
Merge branch 'hotfix-1.0.9' into stable
Browse files Browse the repository at this point in the history
  • Loading branch information
DominicWatson committed Jul 18, 2024
2 parents 1f18f09 + 12dc912 commit d0d36df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## v1.0.9

* Fix issue with empty keyboard shortcut key in top right buttons

## v1.0.8

* [#5](https://github.com/pixl8/preside-ext-alt-admin-theme/issues/5) Ensure the active site is included in the cache key for the menu cache
Expand Down
4 changes: 2 additions & 2 deletions views/admin/datamanager/_topRightButton.cfm
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@

<cfoutput>
<cfif !children.len()>
<a class="pull-right btn #btnClass# btn-sm inline<cfif prompt.len()> confirmation-prompt</cfif>" href="#link#" data-global-key="#globalKey#"<cfif prompt.len()> title="#HtmlEditFormat( prompt )#"</cfif><cfif target.len()> target="#target#"</cfif><cfif match.len()> data-confirmation-match="#match#"</cfif>>
<a class="pull-right btn #btnClass# btn-sm inline<cfif prompt.len()> confirmation-prompt</cfif>" href="#link#"<cfif not isEmptyString( globalKey )> data-global-key="#globalKey#"</cfif><cfif prompt.len()> title="#HtmlEditFormat( prompt )#"</cfif><cfif target.len()> target="#target#"</cfif><cfif match.len()> data-confirmation-match="#match#"</cfif>>
<cfif !isEmpty(iconClass)><i class="fa fa-fw #iconClass#"></i></cfif>
#title#
</a>
<cfelse>
<div class="btn-group<cfif Len( link )> primary-action-with-dropdown</cfif> pull-right">
<cfif Len( link )>
<a class="btn #btnClass# btn-sm inline<cfif prompt.len()> confirmation-prompt</cfif>" href="#link#" data-global-key="#globalKey#"<cfif prompt.len()> title="#HtmlEditFormat( prompt )#"</cfif><cfif target.len()> target="#target#"</cfif><cfif match.len()> data-confirmation-match="#match#"</cfif>>
<a class="btn #btnClass# btn-sm inline<cfif prompt.len()> confirmation-prompt</cfif>" href="#link#"<cfif not isEmptyString( globalKey )> data-global-key="#globalKey#"</cfif><cfif prompt.len()> title="#HtmlEditFormat( prompt )#"</cfif><cfif target.len()> target="#target#"</cfif><cfif match.len()> data-confirmation-match="#match#"</cfif>>
<cfif !isEmpty(iconClass)><i class="fa fa-fw #iconClass#"></i></cfif>
#title#
</a>
Expand Down

0 comments on commit d0d36df

Please sign in to comment.