Give a type button to toolbar's button to not be able to do auto submission, because of our form tag

This commit is contained in:
Hadi Nategh 2015-03-05 14:55:28 +00:00
parent 80255f9611
commit c3b75cdbf4

View File

@ -395,6 +395,7 @@ var et2_toolbar = et2_DOMWidget.extend([et2_IInput],
.addClass("et2_button et2_button_text et2_button_with_image")
.attr('id', this.id+'-'+action.id)
.attr('title', (action.hint ? action.hint : action.caption))
.attr('type', 'button')
.appendTo(this.preference[action.id]?this.actionbox.children()[1]:$j('[data-group='+action.group+']',this.actionlist));
if (action && action.checkbox)