summaryrefslogtreecommitdiff
path: root/addons/website/static/src/xml/website.xml
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2013-09-02 13:15:51 +0200
committerXavier Morel <xmo@openerp.com>2013-09-02 13:15:51 +0200
commitba2076f400dee422d7a2ea78a0dee94319efc821 (patch)
treefd33b267c216af253e72a979e158f17b304ee964 /addons/website/static/src/xml/website.xml
parent9733c396fe1ca31f584b2775a7ff59ae7b2b4914 (diff)
[FIX] correctly set @type of non-submit buttons to button
because of fix to $raw_editables links disabler, buttons which were (apparently) previously cancelDefault-ed now are not, and blow up various things when used. bzr revid: xmo@openerp.com-20130902111551-ryldrw8kebz98u1w
Diffstat (limited to 'addons/website/static/src/xml/website.xml')
-rw-r--r--addons/website/static/src/xml/website.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/addons/website/static/src/xml/website.xml b/addons/website/static/src/xml/website.xml
index f550f8cb372..47ddb2fd8d1 100644
--- a/addons/website/static/src/xml/website.xml
+++ b/addons/website/static/src/xml/website.xml
@@ -14,7 +14,8 @@
<span class="icon-bar"></span>
</button>
<form class="navbar-form navbar-left">
- <button data-action="edit" class="btn btn-primary">Edit</button>
+ <button type="button" data-action="edit"
+ class="btn btn-primary">Edit</button>
</form>
</div>
<div class="collapse navbar-collapse navbar-edit-collapse">