Skip to content
This repository has been archived by the owner on Aug 21, 2019. It is now read-only.

Commit

Permalink
fixes js error
Browse files Browse the repository at this point in the history
Signed-off-by: Bruno Meilick <b@bnomei.com>
  • Loading branch information
bnomei committed Apr 12, 2017
1 parent 970a216 commit f92698e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion fields/opener/assets/js/script.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Opener = ($, $field) ->
this.hasError = (error, msg) ->
if msg == undefined or msg.trim().length == 0
msg = self.l.error
if msg == undefined or msgtrim().length == 0
if msg == undefined or msg.trim().length == 0
msg = error

self.$button.addClass('btn-negative')
Expand Down
2 changes: 1 addition & 1 deletion fields/opener/assets/js/script.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "kirby-opener",
"description": "Kirby Opener is a Kirby CMS Panel Field button that allows you to use placeholders to create dynamic urls which are called with and without ajax response or start downloads.",
"version": "0.8.0",
"version": "0.8.1",
"author": "Bruno Meilick",
"type": "kirby-plugin",
"license": "Commercial"
Expand Down

0 comments on commit f92698e

Please sign in to comment.