diff --git a/CHANGELOG.md b/CHANGELOG.md index 4caea83..34f59cb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,12 +5,6 @@ All notable changes to wuttaweb will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). -## v0.13.1 (2024-08-26) - -### Fix - -- allow custom base template to add params to feedback form - ## v0.13.0 (2024-08-26) ### Feat diff --git a/pyproject.toml b/pyproject.toml index 25ef9bb..fac1e9b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "hatchling.build" [project] name = "WuttaWeb" -version = "0.13.1" +version = "0.13.0" description = "Web App for Wutta Framework" readme = "README.md" authors = [{name = "Lance Edgar", email = "lance@edbob.org"}] diff --git a/src/wuttaweb/templates/base.mako b/src/wuttaweb/templates/base.mako index 55b2aa8..dbad2e2 100644 --- a/src/wuttaweb/templates/base.mako +++ b/src/wuttaweb/templates/base.mako @@ -526,21 +526,16 @@ }) }, - getParams() { - return { + sendFeedback() { + this.sendingFeedback = true + + const params = { referrer: this.referrer, user_uuid: this.userUUID, user_name: this.userName, message: this.message.trim(), - ...this.getExtraParams(), } - }, - getExtraParams() {}, - - sendFeedback() { - this.sendingFeedback = true - const params = this.getParams() this.wuttaPOST(this.action, params, response => { this.$buefy.toast.open({