TimOetting / kirby-gallery

A gallery field for Kirby CMS
MIT License
92 stars 7 forks source link

Does not work ? #2

Closed H-i-red closed 8 years ago

H-i-red commented 8 years ago

Hi I tested it in a fresh install:

Toolkit version: 2.3.0
Kirby version: 2.3.0
Panel version: 2.3.0 

When I select images it simply does not store any value to the text file, and does not show the selected images.

H-i-red commented 8 years ago

Mamp and on a mac.

H-i-red commented 8 years ago

Log : (post to undefined)

post: http://localhost/new/panel/pages/about/undefined
get: http://localhost/new/panel/pages/about/edit
H-i-red commented 8 years ago

sir you need to change your mainForm variable to work with different blueprints.. ;)

// var mainForm  = $('form.form-blueprint-project');
var mainForm  = element.closest('form');

No it works!! Tjoohooo !

TimOetting commented 8 years ago

Hey,

Thanks for the help. Didn't think about how this class name was constructed. I fixed it now.