fix error 500 in extension install
change the event from submit (form) to click (button)
Merge pull request #30 from oat-sa/fix-error-500

fix error 500 in extension install