Skip to content

Commit

Permalink
fixed #5
Browse files Browse the repository at this point in the history
  • Loading branch information
koertho committed Jul 16, 2018
1 parent fb0eabf commit c61ee9a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.

## [DEV] - 2018-07-16

#### Fixed
- not catched undefinded return value in fieldpalette-be.js (#5)

## [0.3.2] - 2018-07-12

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/public/js/fieldpalette-be.js
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ FieldPaletteBackend.refreshFieldPalette = function (id) {
},
onSuccess: function (txt, json) {

if ('' !== json.autoSubmit) {
if ('' !== json.autoSubmit && undefined !== json.autoSubmit && 'undefinded' !== json.autoSubmit && null !== json.autoSubmit) {
Backend.autoSubmit(json.autoSubmit);
return;
}
Expand Down

0 comments on commit c61ee9a

Please sign in to comment.