app/assets/javascripts/loft/inputs/loft-image.coffee in loft-0.3.1 vs app/assets/javascripts/loft/inputs/loft-image.coffee in loft-0.4.0

- old
+ new

@@ -47,10 +47,10 @@ _add_choose_button: -> @$chooseBtn =$ "<button class='choose'>#{Icons.upload}</button>" @$actions.append @$chooseBtn @$chooseBtn.on 'click', (e) => - chr.modules.loft.showModal 'images', false, (objects) => + chr.modules.loft.showImages false, (objects) => asset = objects[0] @updateValue(asset.file.url) _add_remove_button: -> @$removeBtn =$ "<button class='remove'>#{Icons.remove}</button>"